WalletContextState

@demox-labs/aleo-wallet-adapter-react / Exports / WalletContextState

Interface: WalletContextState

Table of contents

Properties

Methods

Properties

autoConnect

autoConnect: boolean

Defined in

useWallet.ts:19


connected

connected: boolean

Defined in

useWallet.ts:24


connecting

connecting: boolean

Defined in

useWallet.ts:23


decrypt

decrypt: (cipherText: string, tpk?: string, programId?: string, functionName?: string, index?: number) => Promise<string>

Type declaration

▸ (cipherText, tpk?, programId?, functionName?, index?): Promise<string>

Parameters

Returns

Promise<string>

Defined in

useWallet.ts:32


disconnecting

disconnecting: boolean

Defined in

useWallet.ts:25


getExecution

getExecution: (transactionId: string) => Promise<string>

Type declaration

▸ (transactionId): Promise<string>

Parameters

Returns

Promise<string>

Defined in

useWallet.ts:39


publicKey

publicKey: string

Defined in

useWallet.ts:22


requestBulkTransactions

requestBulkTransactions: (transactions: AleoTransaction[]) => Promise<string[]>

Type declaration

▸ (transactions): Promise<string[]>

Parameters

Returns

Promise<string[]>

Defined in

useWallet.ts:36


requestDeploy

requestDeploy: (deployment: AleoDeployment) => Promise<string>

Type declaration

▸ (deployment): Promise<string>

Parameters

Returns

Promise<string>

Defined in

useWallet.ts:37


requestExecution

requestExecution: (transaction: AleoTransaction) => Promise<string>

Type declaration

▸ (transaction): Promise<string>

Parameters

Returns

Promise<string>

Defined in

useWallet.ts:35


requestRecordPlaintexts

requestRecordPlaintexts: (program: string) => Promise<any[]>

Type declaration

▸ (program): Promise<any[]>

Parameters

Returns

Promise<any[]>

Defined in

useWallet.ts:40


requestRecords

requestRecords: (program: string) => Promise<any[]>

Type declaration

▸ (program): Promise<any[]>

Parameters

Returns

Promise<any[]>

Defined in

useWallet.ts:33


requestTransaction

requestTransaction: (transaction: AleoTransaction) => Promise<string>

Type declaration

▸ (transaction): Promise<string>

Parameters

Returns

Promise<string>

Defined in

useWallet.ts:34


requestTransactionHistory

requestTransactionHistory: (program: string) => Promise<any[]>

Type declaration

▸ (program): Promise<any[]>

Parameters

Returns

Promise<any[]>

Defined in

useWallet.ts:41


signMessage

signMessage: (message: Uint8Array) => Promise<Uint8Array>

Type declaration

▸ (message): Promise<Uint8Array>

Parameters

Returns

Promise<Uint8Array>

Defined in

useWallet.ts:31


transactionStatus

transactionStatus: (transactionId: string) => Promise<string>

Type declaration

▸ (transactionId): Promise<string>

Parameters

Returns

Promise<string>

Defined in

useWallet.ts:38


wallet

wallet: Wallet

Defined in

useWallet.ts:21


wallets

wallets: Wallet[]

Defined in

useWallet.ts:20

Methods

connect

connect(decryptPermission, network, programs?): Promise<void>

Parameters

Returns

Promise<void>

Defined in

useWallet.ts:28


disconnect

disconnect(): Promise<void>

Returns

Promise<void>

Defined in

useWallet.ts:29


select

select(walletName): void

Parameters

Returns

void

Defined in

useWallet.ts:27

Last updated