WalletContextState
@demox-labs/aleo-wallet-adapter-react / Exports / WalletContextState
Interface: WalletContextState
Table of contents
Properties
Methods
Properties
autoConnect
• autoConnect: boolean
Defined in
connected
• connected: boolean
Defined in
connecting
• connecting: boolean
Defined in
decrypt
• decrypt: (cipherText
: string
, tpk?
: string
, programId?
: string
, functionName?
: string
, index?
: number
) => Promise
<string
>
Type declaration
▸ (cipherText
, tpk?
, programId?
, functionName?
, index?
): Promise
<string
>
Parameters
cipherText
string
tpk?
string
programId?
string
functionName?
string
index?
number
Returns
Promise
<string
>
Defined in
disconnecting
• disconnecting: boolean
Defined in
getExecution
• getExecution: (transactionId
: string
) => Promise
<string
>
Type declaration
▸ (transactionId
): Promise
<string
>
Parameters
transactionId
string
Returns
Promise
<string
>
Defined in
publicKey
• publicKey: string
Defined in
requestBulkTransactions
• requestBulkTransactions: (transactions
: AleoTransaction
[]) => Promise
<string
[]>
Type declaration
▸ (transactions
): Promise
<string
[]>
Parameters
transactions
AleoTransaction
[]
Returns
Promise
<string
[]>
Defined in
requestDeploy
• requestDeploy: (deployment
: AleoDeployment
) => Promise
<string
>
Type declaration
▸ (deployment
): Promise
<string
>
Parameters
deployment
AleoDeployment
Returns
Promise
<string
>
Defined in
requestExecution
• requestExecution: (transaction
: AleoTransaction
) => Promise
<string
>
Type declaration
▸ (transaction
): Promise
<string
>
Parameters
transaction
AleoTransaction
Returns
Promise
<string
>
Defined in
requestRecordPlaintexts
• requestRecordPlaintexts: (program
: string
) => Promise
<any
[]>
Type declaration
▸ (program
): Promise
<any
[]>
Parameters
program
string
Returns
Promise
<any
[]>
Defined in
requestRecords
• requestRecords: (program
: string
) => Promise
<any
[]>
Type declaration
▸ (program
): Promise
<any
[]>
Parameters
program
string
Returns
Promise
<any
[]>
Defined in
requestTransaction
• requestTransaction: (transaction
: AleoTransaction
) => Promise
<string
>
Type declaration
▸ (transaction
): Promise
<string
>
Parameters
transaction
AleoTransaction
Returns
Promise
<string
>
Defined in
requestTransactionHistory
• requestTransactionHistory: (program
: string
) => Promise
<any
[]>
Type declaration
▸ (program
): Promise
<any
[]>
Parameters
program
string
Returns
Promise
<any
[]>
Defined in
signMessage
• signMessage: (message
: Uint8Array
) => Promise
<Uint8Array
>
Type declaration
▸ (message
): Promise
<Uint8Array
>
Parameters
message
Uint8Array
Returns
Promise
<Uint8Array
>
Defined in
transactionStatus
• transactionStatus: (transactionId
: string
) => Promise
<string
>
Type declaration
▸ (transactionId
): Promise
<string
>
Parameters
transactionId
string
Returns
Promise
<string
>
Defined in
wallet
• wallet: Wallet
Defined in
wallets
• wallets: Wallet
[]
Defined in
Methods
connect
▸ connect(decryptPermission
, network
, programs?
): Promise
<void
>
Parameters
decryptPermission
DecryptPermission
network
WalletAdapterNetwork
programs?
string
[]
Returns
Promise
<void
>
Defined in
disconnect
▸ disconnect(): Promise
<void
>
Returns
Promise
<void
>
Defined in
select
▸ select(walletName
): void
Parameters
walletName
WalletName
<string
>
Returns
void
Defined in
Last updated