HomeGuidesAPI ReferenceChangelog
GuidesAPI ReferenceCommunityDiscordBlogFAQBug BountyAnnouncementsChange Log
API Reference

GetTransactionById

Query transaction information by transaction id.

Returns

The interface returns a Transaction object, which contains the following fields:


FieldTypeDescription
txIDStringTransaction ID(Hash).
ret.contractRetstring[]Transaction Execution Results.
signaturestring[]Transaction signature.
raw_data_hexstringThe transaction's raw data. (Format: hex)
raw_dataTransactionTransaction content. See here for details.
fee_limitLongThe transaction's FeeLimit. See here for details. (Unit: sun)
ref_block_bytesStringThe last two bytes of the reference block's number (height), used for transaction validation.
ref_block_hashStringBytes 8 to 16 of the reference block's hash, used for transaction validation.
expirationLongTransaction expiration time. (Unit: millisecond)
timestampLongThe block timestamp. (Unit: millisecond)
Language
Click Try It! to start a request and see the response here!