Transaction Details | Moonbeam
Query to get the details of a transaction by hash, you get the gas and swap data in this case
What it returns
- block height
- timestamp time
- gas
- gas price
- gas currency symbol
- gas value
- success
- sender address
- receiver address
- amount
- currency symbol
- currency address
Filters
- tx hash is 0x4bb9…24ab
The query
query {
ethereum(network: moonbeam) {
transactions(txHash: {is: "0x4bb98edd1c252d0352130b4777259e3b162fca47a475e986d32f5e908a5324ab"}){
block {
height
timestamp {
time(format: "%Y-%m-%d %H:%M:%S")
}
}
gas
gasPrice
gasCurrency {
symbol
}
gasValue
gas_value_usd: gasValue(in: USD)
success
}
transfers(
txHash: {is: "0x4bb98edd1c252d0352130b4777259e3b162fca47a475e986d32f5e908a5324ab"}
) {
sender {
address
}
receiver {
address
}
amount
amount_usd: amount(in: USD)
currency {
symbol
address
}
}
}
}
Similar queries
- moonbeam Gas value, used & USD value · Moonbeam · Transactions
- Tps · Moonbeam · Transactions
- Gas Average 2022 | Moonbeam · Moonbeam · Transactions
- Get Total Transactions | Moonbeam · Moonbeam · Transactions
- moonbeam balance at specific date · Moonbeam · Transfers