Interface: GalaWalletApi
GalaChain core SDK 1.0.0-rc.8 / index / GalaWalletApi
Interface: GalaWalletApi
Defined in: packages/gala-core-sdk/dist/index.d.ts:1265
The Gala Wallet extension's API (window.gala, or the same object from an EIP-6963 announcement).
Properties
setAddress?
optionalsetAddress?: (address) =>Promise<void>
Defined in: packages/gala-core-sdk/dist/index.d.ts:1271
Gala Wallet's "act as this account" switch; absent on other providers.
Parameters
address
string
Returns
Promise<void>
Methods
request()
request(
args):Promise<unknown>
Defined in: packages/gala-core-sdk/dist/index.d.ts:1266
Parameters
args
method
string
params?
unknown[]
Returns
Promise<unknown>