type, address, publicKey, icon | Identity of the wallet on its chain |
omniAddress | Its account on NEAR Intents (the HOT balance); "" when the chain has none |
fetchBalance(chain, address) | One token balance (base units, bigint) |
fetchBalances(chain, whitelist?) | Balances of the listed tokens (and native) on a chain, read from the chain’s RPC |
transfer({ token, receiver, amount, comment? }) | On-chain transfer; resolves with the tx hash |
transferFee(token, receiver, amount) | Network fee of that transfer |
signIntents(intents, options?) | Signs raw intents into a commitment |
auth(intents, { customAuth, ... }) | Signs an auth commitment in the auth popup and hands it to customAuth (your verifier); resolves with its answer |
intents(kit?) | An Intents builder signed by this wallet |