For new React apps, we recommend the JavaScript SDK with React Hooks (@dynamic-labs-sdk/react-hooks) instead of the legacy React SDK documented here. The JS SDK comes with many benefits such as a much smaller bundle size and other optimizations. Use the React quickstart (JavaScript SDK) to get started.
Retrieve the transaction history for a wallet address. This endpoint returns a paginated list of transactions including transfers, swaps, and other on-chain activity.
Transaction history is supported for embedded wallets on Aptos, Bitcoin, EVM, Solana, Stellar, Sui, TON, and Tron networks. Responses are cached for 5 seconds.Solana: mainnet (network ID 101) and devnet (network ID 103). For devnet, we only retain 2 weeks of transaction history.EVM supported networks:
Network
Mainnet ID
Testnet ID
Ethereum
1
11155111 (Sepolia)
Optimism
10
11155420 (Sepolia)
Rootstock
30
31
BNB Smart Chain
56
97
Gnosis
100
10200 (Chiado)
Unichain
130
1301 (Sepolia)
Polygon
137
80001 (Mumbai), 80002 (Amoy)
zkSync Era
324
300 (Sepolia)
Shape
360
11011 (Sepolia)
World Chain
480
4801 (Sepolia)
Hyperliquid
999
998
Story
1514
1315 (Aeneid)
Soneium
1868
1946 (Minato)
Ronin
2020
202601 (Saigon)
Abstract
2741
11124
ApeChain
33139
33111 (Curtis)
Arbitrum One
42161
421614 (Sepolia)
Arbitrum Nova
42170
—
Celo
42220
11142220 (Sepolia)
Avalanche
43114
43113 (Fuji)
Robinhood Chain
—
46630
Ink
57073
763373 (Sepolia)
Linea
59144
59141 (Sepolia)
Berachain
80094
80069 (Bepolia)
Blast
81457
168587773 (Sepolia)
Base
8453
84532 (Sepolia)
Scroll
534352
534351 (Sepolia)
Tempo
4217
42429 (testnet), 42431 (Moderato)
Zora
7777777
999999999 (Sepolia)
Supported chains and network IDs:
Chain
chainName
Network IDs
Aptos
APTOS
1 (mainnet), 2 (testnet), 3 (devnet)
Bitcoin
BTC
1 (mainnet), 2 (testnet)
EVM
EVM
Numeric chain ID (e.g. 1 for Ethereum, 137 for Polygon) — see EVM table above
The blockchain type (e.g. SOL, EVM, BTC) — see table above
address
string
Yes
The wallet address to fetch transactions for
networkId
string
Yes
The network ID for the chain — see table above
limit
number
No
Number of transactions to return (1-100)
offset
string
No
Pagination offset from previous response
tokenAddress
string
No
Token contract address to filter by. Only supported for EVM and Solana. Use 0x0000000000000000000000000000000000000000 for EVM native tokens or So11111111111111111111111111111111111111112 for native SOL.
The response includes an array of transactions and a nextOffset for pagination:
Property
Type
Description
transactions
array
List of transaction objects
nextOffset
string
Offset to fetch the next page of transactions
Each transaction object contains:
Property
Type
Description
transactionHash
string
The transaction hash
blockNumber
number
Block number of the transaction
transactionTimestamp
string
ISO 8601 timestamp of the transaction
blockHash
string
Hash of the block containing the transaction
blockExplorerUrls
string[]
URLs to view the transaction on block explorers
fromAddress
string
Sender address
toAddress
string
Recipient address
labels
string[]
Transaction type labels: sent, receive, or swap
assetTransfers
array
Details of assets transferred in the transaction
chainName
string
The blockchain type
networkId
number
The network ID
transactionType
string
Enhanced transaction type (e.g., TRANSFER, SWAP). Only present for Solana transactions.
source
string
The program or protocol that originated the transaction (e.g., SYSTEM_PROGRAM, JUPITER). Only present for Solana transactions.
description
string
Human-readable description of the transaction. Only present for Solana transactions.
spam
boolean
Whether the transaction is likely spam (e.g., dust attacks). Only present for Solana transactions.
Each asset transfer contains:
Property
Type
Description
tokenAddress
string
Contract address of the token (empty for native tokens)
fromAddress
string
Sender address for this transfer
toAddress
string
Recipient address for this transfer
amount
number
Amount transferred in the token’s smallest unit (e.g., lamports for SOL, raw units for SPL tokens). Use metadata.decimals to convert to a human-readable value.