bridge/interfaces/ExternalChainBalance.md
Balance for a single token on an external chain (Ethereum or Solana)
Represents either a native token (ETH/SOL) or a token contract (ERC-20/SPL).
Example
// Native ETH balance
const ethBalance: ExternalChainBalance = {
symbol: 'ETH',
quantity: '1.500000000000000000',
decimals: 18,
contractAddress: null,
isNative: true,
};
// ERC-20 GALA balance
const galaBalance: ExternalChainBalance = {
symbol: 'GALA',
quantity: '1000.00000000',
decimals: 8,
contractAddress: '0x15D4c048F83bd7e37d49eA4C83a07267Ec4203dA',
isNative: false,
};
Properties
contract address is native