Skip to main content

Query transaction information on the chain

GET 

/transaction/info

Query the transaction information on the chain by transaction hash.

Request

Query Parameters

    chainId int32required

    Chain ID

    This is the platform internal ID, not the chain ID on the chain or from the wallet, can be obtained from Get Chain List interface

    transactionHash stringrequired

    Transaction hash on the chain

Responses

OK

Schema

    code int32required

    Status code

    msg stringrequired

    Status message on success or error message on failure

    description string

    Detailed description when error

    data

    object

    required

    isSuccessful booleanrequired

    Whether the transaction is successful

    blockTimestamp int64required

    Transaction block timestamp

    Note: Unix timestamp, unit: seconds

    transactionDetails

    object[]

    List of transaction details

  • Array [

  • from stringrequired

    Sender address

    to stringrequired

    Receiving address

    amount stringrequired

    Transaction amount

    Note: The value of this field is an integer, calculated by (actual_amount * 10^currency_decimals)

    currency

    object

    required

    Transaction currency details

    currencyId int32

    Currency ID

    Can be obtained from Get Currency List interface

    currencyAddress stringrequired

    Currency address on the chain

    currencySymbol string

    Currency symbol

    precision int32

    Currency decimals

  • ]

Loading...