Get a transaction receipt
GET /v2/contract/tx/{txId}/receipt
GET
/v2/contract/tx/{txId}/receipt
Get a transaction receipt by ID.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” txId
required
string
The transaction ID to get
Header Parameters
Section titled “Header Parameters ” X-API-Key
string
API Key
X-API-Secret
string
API Secret
Responses
Section titled “ Responses ”The transaction receipt details
object
response
required
The transaction receipt details
object
to
The address that the transaction was sent to
string
0x1234567890123456789012345678901234567890
from
required
The address that the transaction was sent from
string
0x1234567890123456789012345678901234567890
value
The value of native currency attached to the transaction
string
1000000000000000000
gas
required
Gas information
object
used
required
The amount of gas used in the transaction
string
21000
price
required
The price paid for the gas
string
20000000000
block
required
Block information
object
hash
required
The hash of the block that the transaction was included in
string
0x1234567890123456789012345678901234567890123456789012345678901234
number
required
The number of the block that the transaction was included in
number
12345678
tx
required
Transaction information
object
hash
required
The hash of the transaction
string
0x1234567890123456789012345678901234567890123456789012345678901234
index
required
The index in the block at which the transaction exists
number
0 status
required
Transaction status (1 = success, 0 = failure)
number
1
execution
required
Execution details
object
{}
Bad Request
Unauthorized
Forbidden
Not Found
Internal Server Error