Skip to content
Snippets Groups Projects

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

Closed Moul requested to merge bma_tx_history_pending into master
1 file
+ 11
0
Compare changes
  • Side-by-side
  • Inline
@@ -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
Loading