GET
/
v1
/
account
/
txs
curl --request GET \
  --url https://api.chainbase.online/v1/account/txs \
  --header 'x-api-key: <x-api-key>'
{
  "code": 0,
  "message": "ok",
  "data": [
    {
      "type": 123,
      "status": 123,
      "block_number": 123,
      "block_timestamp": "2023-11-07T05:31:56Z",
      "transaction_hash": "<string>",
      "transaction_index": 123,
      "from_address": "<string>",
      "to_address": "<string>",
      "value": "<string>",
      "input": "<string>",
      "nonce": 123,
      "contract_address": "<string>",
      "gas": 123,
      "gas_price": 123,
      "gas_used": 123,
      "effective_gas_price": 123,
      "cumulative_gas_used": 123,
      "max_fee_per_gas": 123,
      "max_priority_fee_per_gas": 123,
      "tx_fee": 123,
      "saving_fee": 123,
      "burnt_fee": 123
    }
  ],
  "next_page": 123,
  "count": 123
}

Headers

x-api-key
string
required

Query Parameters

chain_id
string
required

chain network id, see list of details

address
string
required

A hex string referencing a wallet address

from_block
string

Inclusive from block number (hex string or int)

to_block
string

Inclusive to block number (hex string, int, or 'latest')

from_timestamp
integer

Inclusive from block number (hex string or int)

end_timestamp
integer

Inclusive end timestamp

page
integer
default:
1

The page offset

Required range: x > 1
limit
integer
default:
20

The desired page size limit. Less or equal than 100

Required range: 1 < x < 100

Response

200
application/json
Successful Response
code
integer
default:
0
message
string
default:
ok
data
object[]
next_page
integer
count
integer