Skip to content

Get a transaction receipt

GET
/v2/contract/tx/{txId}/receipt

Get a transaction receipt by ID.

txId
required
string

The transaction ID to get

isShared
required
boolean

Whether the transaction is shared

X-API-Key
string

API Key

X-API-Secret
string

API Secret

The transaction receipt details

object
response
required

The transaction receipt

object
to

The address that the transaction was sent to

string
nullable
from

The address that the transaction was sent from

string
value

The value of native currency attached to the transaction

string
nullable
gas
object
used

The amount of gas used in the transaction

string
price

The price paid for the gas

string
block
object
hash

The hash of the block that the transaction was included in

string
number

The number of the block that the transaction was included in

number
tx
object
hash

The hash of the transaction

string
index

The index in the block at which the transaction exists

number
status

Transaction status (1 = success, 0 = failure)

number
nullable
execution

Execution details

object