curl --request GET \
--url https://api.onswitch.xyz/wallet/{wallet_id}/transactions \
--header 'x-service-key: <api-key>'{
"success": true,
"message": "Wallet transactions fetched successfully",
"timestamp": "2026-04-18T14:22:08.631Z",
"data": [
{
"reference": "2a96f96e-f29e-49de-913d-17c4ea23a517",
"amount": 5,
"asset": "base:usdc",
"type": "send",
"status": "successful",
"date": "2026-04-18T09:43:11.000Z",
"transaction_hash": "0xd078bb42505b9e80dc40d9e93753c83a8019e8bfc8990e352bfce0379beb2354",
"explorer_url": "https://blockscan.com/tx/0xd078bb42505b9e80dc40d9e93753c83a8019e8bfc8990e352bfce0379beb2354",
"sender": "0xef6e423ad6ad3855c38417ef4d6a459126009d74",
"receiver": "0x968a31b0b3bc698e75cd030cd2a69b7395b190da"
},
{
"reference": "4e55e9f4-55ea-4df4-9cea-4e1f7b9cf759",
"amount": 0.181067,
"asset": "polygon:usdc",
"type": "fee",
"status": "successful",
"date": "2026-04-18T09:43:10.000Z",
"transaction_hash": "0xfa93cefb230af021499c3529ea50e934f44964d2261b8f1c15220a7f764713f3",
"explorer_url": "https://blockscan.com/tx/0xfa93cefb230af021499c3529ea50e934f44964d2261b8f1c15220a7f764713f3",
"sender": "0xef6e423ad6ad3855c38417ef4d6a459126009d74",
"receiver": "0xbeb44c790dbe563aff6e649d42ebc44cbde92dc0"
},
{
"reference": "53cc6c5b-e323-4f0f-acad-c4e39259176e",
"amount": 15,
"asset": "polygon:usdc",
"type": "receive",
"status": "successful",
"date": "2026-04-18T09:15:56.000Z",
"transaction_hash": "0xbeab691e6a9dee2d52d4d656676a712257fd075740e7278065d2f6458d5070da",
"explorer_url": "https://blockscan.com/tx/0xbeab691e6a9dee2d52d4d656676a712257fd075740e7278065d2f6458d5070da",
"sender": "0xa85c29b94f8a22a7268facee89ef4eca051be2ce",
"receiver": "0xef6e423ad6ad3855c38417ef4d6a459126009d74"
}
]
}List transactions for a wallet with optional pagination.
curl --request GET \
--url https://api.onswitch.xyz/wallet/{wallet_id}/transactions \
--header 'x-service-key: <api-key>'{
"success": true,
"message": "Wallet transactions fetched successfully",
"timestamp": "2026-04-18T14:22:08.631Z",
"data": [
{
"reference": "2a96f96e-f29e-49de-913d-17c4ea23a517",
"amount": 5,
"asset": "base:usdc",
"type": "send",
"status": "successful",
"date": "2026-04-18T09:43:11.000Z",
"transaction_hash": "0xd078bb42505b9e80dc40d9e93753c83a8019e8bfc8990e352bfce0379beb2354",
"explorer_url": "https://blockscan.com/tx/0xd078bb42505b9e80dc40d9e93753c83a8019e8bfc8990e352bfce0379beb2354",
"sender": "0xef6e423ad6ad3855c38417ef4d6a459126009d74",
"receiver": "0x968a31b0b3bc698e75cd030cd2a69b7395b190da"
},
{
"reference": "4e55e9f4-55ea-4df4-9cea-4e1f7b9cf759",
"amount": 0.181067,
"asset": "polygon:usdc",
"type": "fee",
"status": "successful",
"date": "2026-04-18T09:43:10.000Z",
"transaction_hash": "0xfa93cefb230af021499c3529ea50e934f44964d2261b8f1c15220a7f764713f3",
"explorer_url": "https://blockscan.com/tx/0xfa93cefb230af021499c3529ea50e934f44964d2261b8f1c15220a7f764713f3",
"sender": "0xef6e423ad6ad3855c38417ef4d6a459126009d74",
"receiver": "0xbeb44c790dbe563aff6e649d42ebc44cbde92dc0"
},
{
"reference": "53cc6c5b-e323-4f0f-acad-c4e39259176e",
"amount": 15,
"asset": "polygon:usdc",
"type": "receive",
"status": "successful",
"date": "2026-04-18T09:15:56.000Z",
"transaction_hash": "0xbeab691e6a9dee2d52d4d656676a712257fd075740e7278065d2f6458d5070da",
"explorer_url": "https://blockscan.com/tx/0xbeab691e6a9dee2d52d4d656676a712257fd075740e7278065d2f6458d5070da",
"sender": "0xa85c29b94f8a22a7268facee89ef4eca051be2ce",
"receiver": "0xef6e423ad6ad3855c38417ef4d6a459126009d74"
}
]
}Documentation Index
Fetch the complete documentation index at: https://docs.onswitch.xyz/llms.txt
Use this file to discover all available pages before exploring further.
Service key for API authentication
Wallet ID (24-character hex)
^[a-f0-9]{24}$Page number (1-based)
x >= 1Number of items per page (max 100)
1 <= x <= 100Transactions retrieved successfully
Hide child attributes
Transaction reference (UUID)
Transaction amount (from input)
Asset ID from input (e.g. base:usdc)
Wallet transactions type.
send, receive, fee successful, failed, processing