getTransaction by hash
sdsdsdfsdf
Returns transactions and transfers on Ethereum, where tx hash is 0x86e8…1d2f: nonce, gas, gas price, sender address, annotation, contract type, protocol type and 10 more fields.
What it returns
- nonce
- gas
- gas price
- sender address
- annotation
- contract type
- protocol type
- currency name
- currency symbol
- decimals
- to address
- success
- receiver address
- token ID
- token type
- amount
- count big int
Filters
- tx hash is 0x86e8…1d2f
The query
query ($txhash: String!) {
ethereum(network: ethereum) {
transactions(success: true, txHash: {is: $txhash}) {
nonce
gas(calculate: maximum)
gasPrice(calculate: maximum)
sender {
address
annotation
smartContract {
contractType
protocolType
currency {
name
symbol
decimals
}
}
}
to {
address
smartContract {
contractType
currency {
decimals
name
symbol
}
protocolType
}
annotation
}
}
transfers(success: true, external: true, txHash: {is: $txhash}) {
success(success: true)
receiver {
address
annotation
smartContract {
contractType
currency {
name
symbol
}
protocolType
}
}
sender {
address
annotation
smartContract {
contractType
protocolType
currency {
symbol
name
}
}
}
transaction {
gas
gasPrice
}
currency {
symbol
tokenId
tokenType
decimals
}
amount(in: ETH, calculate: any)
countBigInt
}
}
}
Variables
{
"txhash": "0x86e8c53d4d9ed8edbe8e2dc27b37dfceede1e45943aa4de93cbeba420a901d2f"
}
Similar queries
- Wwa to nie london · Ethereum · Transactions
- transactions · Ethereum · Transactions
- Solos · Ethereum · Transactions
- Get transactions by wallet · Ethereum · Transactions
- eth latest activity · Ethereum · Transfers