Skip to main content
GET
/
gateway
/
v1
/
wallet
/
history
Wallet Transaction History
curl --request GET \
  --url https://api.ask.surf/gateway/v1/wallet/history
{
  "data": [
    {
      "from_address": "<string>",
      "timestamp": 123,
      "to_address": "<string>",
      "tx_hash": "<string>",
      "value": "<string>",
      "tx_type": "<string>"
    }
  ],
  "meta": {
    "cached": true,
    "credits_used": 123,
    "limit": 123,
    "offset": 123,
    "total": 123
  },
  "$schema": "<string>"
}

Query Parameters

address
string
required

Wallet address — must be a raw 0x-prefixed hex address, not an ENS name

Example:

"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"

chain
enum<string>
default:ethereum

Chain filter. Can be ethereum, polygon, bsc, avalanche, arbitrum, optimism, fantom, or base.

Available options:
ethereum,
polygon,
bsc,
avalanche,
arbitrum,
optimism,
fantom,
base
Example:

"ethereum"

limit
integer<int64>
default:20

Results per page

Required range: 1 <= x <= 100
Example:

20

offset
integer<int64>
default:0

Pagination offset

Required range: x >= 0
Example:

0

sort_by
enum<string>
default:timestamp

Field to sort results by

Available options:
timestamp,
value
Example:

"timestamp"

order
enum<string>
default:desc

Sort order

Available options:
asc,
desc
Example:

"desc"

Response

OK

data
object[] | null
required
meta
object
required
$schema
string<uri>

A URL to the JSON Schema for this object.

Example:

"https://example.com/schemas/DataResponseWalletHistoryItem.json"