Interface: EthereumWalletBalanceResult
GalaChain core SDK 1.0.0-rc.8 / bridge / EthereumWalletBalanceResult
Interface: EthereumWalletBalanceResult
Defined in: packages/gala-core-sdk/dist/bridge.d.ts:744
Complete Ethereum wallet balance result
Returns native ETH balance plus all supported ERC-20 token balances: GALA, GWETH, GUSDC, GUSDT, GWTRX, GWBTC
Example
const result = await sdk.fetchEthereumWalletBalance('0x...');
console.log(`ETH: ${result.native.quantity}`);
console.log(`Tokens: ${result.tokens.map(t => `${t.symbol}: ${t.quantity}`).join(', ')}`);
Properties
address
address:
string
Defined in: packages/gala-core-sdk/dist/bridge.d.ts:746
Wallet address queried (0x format)
native
native:
ExternalChainBalance
Defined in: packages/gala-core-sdk/dist/bridge.d.ts:748
Native ETH balance
timestamp
timestamp:
number
Defined in: packages/gala-core-sdk/dist/bridge.d.ts:752
Query timestamp (epoch ms)
tokens
tokens:
ExternalChainBalance[]
Defined in: packages/gala-core-sdk/dist/bridge.d.ts:750
ERC-20 token balances (GALA, GWETH, GUSDC, GUSDT, GWTRX, GWBTC)