Call it
curl https://api.peume.com/v1/call/wallet-transaction-history \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"address": "your address",
"chain": "ethereum",
"limit": 20,
"offset": 0,
"sort_by": "timestamp",
"order": "desc"
}
}'const res = await fetch("https://api.peume.com/v1/call/wallet-transaction-history", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"address": "your address",
"chain": "ethereum",
"limit": 20,
"offset": 0,
"sort_by": "timestamp",
"order": "desc"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/wallet-transaction-history",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"address": "your address",
"chain": "ethereum",
"limit": 20,
"offset": 0,
"sort_by": "timestamp",
"order": "desc"
}
},
)
print(res.json()["output"])Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: wallet-transaction-history.
Parameters
addressRequiredstringWallet address — must be a raw 0x-prefixed hex address, not an ENS name. Example: 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045.
chainstringChain filter. Can be ethereum,, bsc, avalanche, arbitrum, optimism, fantom, or base. Example: ethereum. Defaults to "ethereum".
ethereum · polygon · bsc · avalanche · arbitrum · optimism · fantom · base
Example: ethereum
limitintegerResults per page. Example: 20. Defaults to 20.
Example: 20
offsetintegerPagination offset. This feed is cursor-paginated upstream and only the most recent ~1000 transactions are reachable; a larger offset returns an empty page with meta.empty_reason rather than an error. For deep history prefer the before cursor — its upstream cost is bounded by limit and independent of depth, whereas a large offset is emulated by walking the whole feed. Example: 0. Defaults to 0.
Example: 0
beforeintegerCursor for efficient deep pagination: return transactions strictly older than this Unix-seconds timestamp (exclusive). Pass the timestamp of the last item from the previous page; if items may share a second, pass that timestamp + 1 and de-duplicate on tx_hash. Unlike offset (which walks the feed), the number of upstream fetches is bounded by limit (DeBank returns up to 20 per page) and independent of how far back you page. Mutually exclusive with offset. Example: 1704067200.
sort_bystringField to sort results by. The cursor-paginated upstream feed only supports timestamp correctly; unsupported values are rejected by the handler for correctness. Example: timestamp. Defaults to "timestamp".
timestamp · value
Example: timestamp
orderstringSort order. The cursor-paginated upstream feed only supports desc correctly; unsupported values are rejected by the handler for correctness. Example: desc. Defaults to "desc".
asc · desc
Example: desc
includestringComma-separated enrichments to attach to each item. Currently valid: labels — adds from_label and to_label fields with entity information for each counterparty address. Example: labels.
