Skip to content

Latest commit

 

History

History
194 lines (120 loc) · 5.46 KB

API.md

File metadata and controls

194 lines (120 loc) · 5.46 KB

checkIsWalletEndpointAvailable()

checkIsWalletEndpointAvailable() => Promise<{ endpointAvailable: boolean; }>

Returns: Promise<{ endpointAvailable: boolean; }>


getCapabilities()

getCapabilities() => Promise<{ capabilitiesRequested: boolean; }>

Returns: Promise<{ capabilitiesRequested: boolean; }>


getWalletAndEnvironmentInfo()

getWalletAndEnvironmentInfo() => Promise<{ dAppPlatform: string; dAppOs: string; walletInfo: WalletInfo[]; }>

Returns: Promise<{ dAppPlatform: string; dAppOs: string; walletInfo: WalletInfo[]; }>


authorize(...)

authorize(wallet: string) => Promise<{ authorized: boolean; authToken: string; publicKey: string; connection: any; }>
Param Type
wallet string

Returns: Promise<{ authorized: boolean; authToken: string; publicKey: string; connection: any; }>


reauthorize(...)

reauthorize(options: { authToken: string; }) => Promise<{ reauthorized: boolean; authToken: string; publicKey: string; }>
Param Type
options { authToken: string; }

Returns: Promise<{ reauthorized: boolean; authToken: string; publicKey: string; }>


deauthorize(...)

deauthorize(options: { authToken: string; connection: any; }) => Promise<{ deauthorized: boolean; }>
Param Type
options { authToken: string; connection: any; }

Returns: Promise<{ deauthorized: boolean; }>


signTransactions(...)

signTransactions(options: { count: number; authToken: string; publicKey: string; }) => Promise<{ success: boolean; }>
Param Type
options { count: number; authToken: string; publicKey: string; }

Returns: Promise<{ success: boolean; }>


authorizeAndSignTransactions(...)

authorizeAndSignTransactions(options: { count: number; }) => Promise<{ success: boolean; authToken: string; publicKey: string; }>
Param Type
options { count: number; }

Returns: Promise<{ success: boolean; authToken: string; publicKey: string; }>


signMessages(...)

signMessages(options: { count: number; authToken: string; }) => Promise<{ success: boolean; }>
Param Type
options { count: number; authToken: string; }

Returns: Promise<{ success: boolean; }>


signAndSendTransactions(...)

signAndSendTransactions(options: { count: number; authToken: string; }) => Promise<{ success: boolean; }>
Param Type
options { count: number; authToken: string; }

Returns: Promise<{ success: boolean; }>


requestAirdrop(...)

requestAirdrop(options: { authToken: string; }) => Promise<{ success: boolean; }>
Param Type
options { authToken: string; }

Returns: Promise<{ success: boolean; }>


Interfaces

WalletInfo

Prop Type
installed Wallet[]
deeplink Wallet[]
notInstalled Wallet[]

Wallet

Prop Type
uuid string
chain_name string
public_address string