test_add_txn
Returns 10 transactions on Ethereum and BNB Chain, where tx to is 0x55C9…47F1 and tx sender is 0x55C9…47F1, sorted by block height: iso8601 and block height.
What it returns
- iso8601
- block height
Filters
- tx to is 0x55C9…47F1
- tx sender is 0x55C9…47F1
The query
query ($network: EthereumNetwork!, $address: String!, $limit: Int!, $startblockheight: Int!, $endblockheight: Int!, $orderby: [String!]) {
ethereum(network: $network) {
inbound: transactions(
options: {asc: $orderby, limit: $limit}
height: {gteq: $startblockheight, lteq: $endblockheight}
txTo: {is: $address}
) {
block {
timestamp {
iso8601
}
height
}
}
outbound: transactions(
options: {asc: $orderby, limit: $limit}
height: {gteq: $startblockheight, lteq: $endblockheight}
txSender: {is: $address}
) {
block {
timestamp {
iso8601
}
height
}
}
}
}
Variables
{
"network": "bsc",
"limit" : 10,
"orderby": "block.height",
"startblockheight": 21942032,
"endblockheight": 32248213,
"address": "0x55C979C335e7F7b30F0A86E32CF66927Cf7E47F1"
}
Similar queries
- jumptask · BNB Chain · Transactions
- transactions · Ethereum · Transactions
- Wallet queries - transactions of a single wallet address updated · BNB Chain · Transactions
- Get historical transactions by wallet bsc · BNB Chain · Transactions
- Get transactions by wallet · BNB Chain · Transactions