Method Name
public/get_transaction
public/get_transactionUsed for getting a transaction by its transaction id
Parameters
| transaction_idstringrequired transaction_id of the transaction to get |
Response
| idstring or integerrequired |
| resultobjectrequired |
| result.datastringrequired Data used to create transaction |
| result.error_logstring or nullrequired Error log if failed tx |
| result.statusstringrequired Status of the transaction enum requestedpendingsettledrevertedignoredtimed_out |
| result.transaction_hashstring or nullrequired Transaction hash of a pending tx |
Example
{request_example_shell}{request_example_javascript}{request_example_python}The above command returns JSON structured like this:
{response_example_json}