Pending Transactions


Pending Transaction Status

GET https://api.helium.io/v1/pending_transactions/:hash

Fetches the status for a given pending transaction hash. Multiple transactions for the same hash may be returned.

Path Parameters

paramTypeNote
hash (required)stringHash of the pending transaction to fetch.

Submit a New Transaction

POST https://api.helium.io/v1/pending_transactions/:hash

New transactions can be submitted to the blockchain by sending a pending transaction.The transaction has to be constructed using the protobuf form, encoded and then signed. The resulting signed transaction is then wrapped in a transaction wrapper which must be encoded and then submitted to this endpoint.If successful, the response will include a transaction hash that can be used to check for pending transaction status.

Headers

paramTypeNote
Content-Type (optional)stringapplication/json

Body Parameters

paramTypeNote
txn (required)stringA base64 encoded transaction. An exmple of the both of a post request:{ "txn": "QoWBCIe..."}