platform.getTx
Last updated
Was this helpful?
Last updated
Was this helpful?
Gets a transaction by its ID.
Optional encoding
parameter to specify the format for the returned transaction. Can be either hex
or json
. Defaults to hex
.
This method will use 20
.
encoding
- string - Optional encoding parameter to specify the format for the returned transaction. Can be either "hex" or "json". Defaults to "hex".
txID
- string - The transaction id.
txID
- string - The id of the subnet.
encoding
- string - Specifies the encoding format used in the request.