Get Native Balance
Endpoint:/evm/wallet/balance
- Socket.IO
- HTTP
Get Token Balance
Endpoint:/evm/wallet/balance/token
- Socket.IO
- HTTP
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Retrieve EVM wallet balances and token holdings for Ethereum, Base, and BNB Chain.
/evm/wallet/balance
socket.emit("/evm/wallet/balance", {
chain: "eth",
wallet: "0x10a64c6d7f12c47b7c66c5b4e20e72bc1fcd5d9e",
});
await fetch("https://api.chainworks.co/evm/wallet/balance", {
method: "POST",
headers: {
"Content-Type": "application/json",
Authorization: CHAINWORKS_API_AUTH_TOKEN,
},
body: JSON.stringify({
chain: "eth",
wallet: "0x10a64c6d7f12c47b7c66c5b4e20e72bc1fcd5d9e",
}),
});
/evm/wallet/balance/token
socket.emit("/evm/wallet/balance/token", {
chain: "eth",
token: "0x6982508145454Ce325dDbE47a25d4ec3d2311933",
wallet: "0x10a64c6d7f12c47b7c66c5b4e20e72bc1fcd5d9e",
});
await fetch("https://api.chainworks.co/evm/wallet/balance/token", {
method: "POST",
headers: {
"Content-Type": "application/json",
Authorization: CHAINWORKS_API_AUTH_TOKEN,
},
body: JSON.stringify({
chain: "eth",
token: "0x6982508145454Ce325dDbE47a25d4ec3d2311933",
wallet: "0x10a64c6d7f12c47b7c66c5b4e20e72bc1fcd5d9e",
}),
});
