API Reference
A list of Leap Connect Wallet methods
Enable connection:
window.leap.enable(chainId: string | Array<string>)
// you can pass a list of chainIds to get approval for multiple chains in one request
window.leap.enable(['chainId1', 'chainId2'])Get Key:
interface Key {
name: string;
algo: string;
pubKey: Uint8Array;
address: Uint8Array;
bech32Address: string;
isNanoLedger: boolean;
}
window.leap.getKey(chainId: string): Promise<Key>Sign Amino:
Sign Direct / Protobuf:
Request Signature for Arbitrary Message:
Delegate Transaction broadcasting:
CosmJS example
Method to add a CW20 token
Method to check wallet connection
Disconnect from Dapp
Get Supported Chains
Last updated