Skip to content
Snippets Groups Projects
Commit 50d13649 authored by Moul's avatar Moul
Browse files

[enh] BMA: Add tx/history/{%pubkey}/pending method

parent 01d1c4b9
No related branches found
No related tags found
1 merge request!49BMA: Add tx/history/{%pubkey}/pending method
Pipeline #4112 passed
...@@ -211,6 +211,17 @@ async def history(client: Client, pubkey: str) -> dict: ...@@ -211,6 +211,17 @@ async def history(client: Client, pubkey: str) -> dict:
return await client.get(MODULE + '/history/%s' % pubkey, schema=HISTORY_SCHEMA) return await client.get(MODULE + '/history/%s' % pubkey, schema=HISTORY_SCHEMA)
async def history_pending(client: Client, pubkey: str) -> dict:
"""
Get pending transactions history of public key
:param client: Client to connect to the api
:param pubkey: Public key
:return:
"""
return await client.get(MODULE + '/history/%s/pending' % pubkey, schema=HISTORY_SCHEMA)
async def process(client: Client, transaction_signed_raw: str) -> ClientResponse: async def process(client: Client, transaction_signed_raw: str) -> ClientResponse:
""" """
POST a transaction raw document POST a transaction raw document
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment