go_api_list_recent_block.py 362 B

12345678910
  1. from .tool.func import *
  2. async def api_list_recent_block(num = 1, set_type = 'all', user_name = 'Test', why = ''):
  3. other_set = {}
  4. other_set["num"] = str(num)
  5. other_set["set_type"] = set_type
  6. other_set["user_name"] = user_name
  7. other_set["why"] = why
  8. return flask.jsonify(await python_to_golang(sys._getframe().f_code.co_name, other_set))