avm.getTx

Returns transaction details

Parameters

String: txID - A specific transaction ID.

String: encoding - Sets the format of the returned transaction. Can be "hex" or "json". Defaults to "hex".

Returns

Object: The transaction object

Language
Click Try It! to start a request and see the response here!