Latest Transactions

Definition

Get latest transactions for a chain address Example of usage latest transactions on Sanbase


Access

Free Access


API

Available under the recentTransactions name:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
query recentTransactions($address: String!, $page: Int, $pageSize: Int = 20) {
  transactions: recentTransactions(
    address: $address
    page: $page
    pageSize: $pageSize
    type: ERC20
    onlySender: false
  ) {
    datetime
    fromAddress {
      address
      labels {
        name
        origin
      }
    }
    toAddress {
      address
      labels {
        name
        origin
      }
    }
    trxValue
    trxHash
    project {
      id
      ticker
      logoUrl
    }
  }
}

Query variables:

1
2
3
4
5
6
{
  "address": "0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d",
  "infrastructure": "ETH",
  "page": 1,
  "pageSize": 20
}

Run in explorer

Was this article helpful?