BaseMessageSignerWalletAdapter
@demox-labs/aleo-wallet-adapter-base / Exports / BaseMessageSignerWalletAdapter
Class: BaseMessageSignerWalletAdapter<Name>
Minimal EventEmitter
interface that is molded against the Node.js EventEmitter
interface.
Type parameters
Name
extends string
= string
Hierarchy
BaseSignerWalletAdapter
<Name
>↳
BaseMessageSignerWalletAdapter
Implements
Table of contents
Constructors
Properties
Accessors
Methods
Constructors
constructor
• new BaseMessageSignerWalletAdapter<Name
>()
Type parameters
Name
extends string
= string
Inherited from
BaseSignerWalletAdapter.constructor
Properties
connecting
• Abstract
connecting: boolean
Implementation of
MessageSignerWalletAdapter.connecting
Inherited from
BaseSignerWalletAdapter.connecting
Defined in
icon
• Abstract
icon: string
Implementation of
MessageSignerWalletAdapter.icon
Inherited from
Defined in
name
• Abstract
name: WalletName
<Name
>
Implementation of
MessageSignerWalletAdapter.name
Inherited from
Defined in
publicKey
• Abstract
publicKey: string
Implementation of
MessageSignerWalletAdapter.publicKey
Inherited from
BaseSignerWalletAdapter.publicKey
Defined in
readyState
• Abstract
readyState: WalletReadyState
Implementation of
MessageSignerWalletAdapter.readyState
Inherited from
BaseSignerWalletAdapter.readyState
Defined in
supportedTransactionVersions
• Abstract
supportedTransactionVersions: ReadonlySet
<any
>
Implementation of
MessageSignerWalletAdapter.supportedTransactionVersions
Inherited from
BaseSignerWalletAdapter.supportedTransactionVersions
Defined in
url
• Abstract
url: string
Implementation of
MessageSignerWalletAdapter.url
Inherited from
Defined in
prefixed
▪ Static
prefixed: string
| boolean
Inherited from
BaseSignerWalletAdapter.prefixed
Defined in
node_modules/eventemitter3/index.d.ts:9
Accessors
connected
• get
connected(): boolean
Returns
boolean
Implementation of
MessageSignerWalletAdapter.connected
Inherited from
BaseSignerWalletAdapter.connected
Defined in
Methods
addListener
▸ addListener<T
>(event
, fn
, context?
): BaseMessageSignerWalletAdapter
<Name
>
Type parameters
T
extends keyof WalletAdapterEvents
Parameters
event
T
fn
(...args
: ArgumentMap
<WalletAdapterEvents
>[Extract
<T
, keyof WalletAdapterEvents
>]) => void
context?
any
Returns
BaseMessageSignerWalletAdapter
<Name
>
Implementation of
MessageSignerWalletAdapter.addListener
Inherited from
BaseSignerWalletAdapter.addListener
Defined in
node_modules/eventemitter3/index.d.ts:45
connect
▸ Abstract
connect(decryptPermission
, network
, programs?
): Promise
<void
>
Parameters
Returns
Promise
<void
>
Implementation of
MessageSignerWalletAdapter.connect
Inherited from
BaseSignerWalletAdapter.connect
Defined in
decrypt
▸ Abstract
decrypt(cipherText
, tpk?
, programId?
, functionName?
, index?
): Promise
<string
>
Parameters
cipherText
string
tpk?
string
programId?
string
functionName?
string
index?
number
Returns
Promise
<string
>
Implementation of
MessageSignerWalletAdapter.decrypt
Defined in
disconnect
▸ Abstract
disconnect(): Promise
<void
>
Returns
Promise
<void
>
Implementation of
MessageSignerWalletAdapter.disconnect
Inherited from
BaseSignerWalletAdapter.disconnect
Defined in
emit
▸ emit<T
>(event
, ...args
): boolean
Calls each of the listeners registered for a given event.
Type parameters
T
extends keyof WalletAdapterEvents
Parameters
event
T
...args
ArgumentMap
<WalletAdapterEvents
>[Extract
<T
, keyof WalletAdapterEvents
>]
Returns
boolean
Implementation of
MessageSignerWalletAdapter.emit
Inherited from
Defined in
node_modules/eventemitter3/index.d.ts:32
eventNames
▸ eventNames(): keyof WalletAdapterEvents
[]
Return an array listing the events for which the emitter has registered listeners.
Returns
keyof WalletAdapterEvents
[]
Implementation of
MessageSignerWalletAdapter.eventNames
Inherited from
BaseSignerWalletAdapter.eventNames
Defined in
node_modules/eventemitter3/index.d.ts:15
getExecution
▸ Abstract
getExecution(transactionId
): Promise
<string
>
Parameters
transactionId
string
Returns
Promise
<string
>
Implementation of
MessageSignerWalletAdapter.getExecution
Defined in
listenerCount
▸ listenerCount(event
): number
Return the number of listeners listening to a given event.
Parameters
event
keyof WalletAdapterEvents
Returns
number
Implementation of
MessageSignerWalletAdapter.listenerCount
Inherited from
BaseSignerWalletAdapter.listenerCount
Defined in
node_modules/eventemitter3/index.d.ts:27
listeners
▸ listeners<T
>(event
): (...args
: ArgumentMap
<WalletAdapterEvents
>[Extract
<T
, keyof WalletAdapterEvents
>]) => void
[]
Return the listeners registered for a given event.
Type parameters
T
extends keyof WalletAdapterEvents
Parameters
event
T
Returns
(...args
: ArgumentMap
<WalletAdapterEvents
>[Extract
<T
, keyof WalletAdapterEvents
>]) => void
[]
Implementation of
MessageSignerWalletAdapter.listeners
Inherited from
BaseSignerWalletAdapter.listeners
Defined in
node_modules/eventemitter3/index.d.ts:20
off
▸ off<T
>(event
, fn?
, context?
, once?
): BaseMessageSignerWalletAdapter
<Name
>
Type parameters
T
extends keyof WalletAdapterEvents
Parameters
event
T
fn?
(...args
: ArgumentMap
<WalletAdapterEvents
>[Extract
<T
, keyof WalletAdapterEvents
>]) => void
context?
any
once?
boolean
Returns
BaseMessageSignerWalletAdapter
<Name
>
Implementation of
MessageSignerWalletAdapter.off
Inherited from
Defined in
node_modules/eventemitter3/index.d.ts:69
on
▸ on<T
>(event
, fn
, context?
): BaseMessageSignerWalletAdapter
<Name
>
Add a listener for a given event.
Type parameters
T
extends keyof WalletAdapterEvents
Parameters
event
T
fn
(...args
: ArgumentMap
<WalletAdapterEvents
>[Extract
<T
, keyof WalletAdapterEvents
>]) => void
context?
any
Returns
BaseMessageSignerWalletAdapter
<Name
>
Implementation of
MessageSignerWalletAdapter.on
Inherited from
Defined in
node_modules/eventemitter3/index.d.ts:40
once
▸ once<T
>(event
, fn
, context?
): BaseMessageSignerWalletAdapter
<Name
>
Add a one-time listener for a given event.
Type parameters
T
extends keyof WalletAdapterEvents
Parameters
event
T
fn
(...args
: ArgumentMap
<WalletAdapterEvents
>[Extract
<T
, keyof WalletAdapterEvents
>]) => void
context?
any
Returns
BaseMessageSignerWalletAdapter
<Name
>
Implementation of
MessageSignerWalletAdapter.once
Inherited from
Defined in
node_modules/eventemitter3/index.d.ts:54
removeAllListeners
▸ removeAllListeners(event?
): BaseMessageSignerWalletAdapter
<Name
>
Remove all listeners, or those of the specified event.
Parameters
event?
keyof WalletAdapterEvents
Returns
BaseMessageSignerWalletAdapter
<Name
>
Implementation of
MessageSignerWalletAdapter.removeAllListeners
Inherited from
BaseSignerWalletAdapter.removeAllListeners
Defined in
node_modules/eventemitter3/index.d.ts:79
removeListener
▸ removeListener<T
>(event
, fn?
, context?
, once?
): BaseMessageSignerWalletAdapter
<Name
>
Remove the listeners of a given event.
Type parameters
T
extends keyof WalletAdapterEvents
Parameters
event
T
fn?
(...args
: ArgumentMap
<WalletAdapterEvents
>[Extract
<T
, keyof WalletAdapterEvents
>]) => void
context?
any
once?
boolean
Returns
BaseMessageSignerWalletAdapter
<Name
>
Implementation of
MessageSignerWalletAdapter.removeListener
Inherited from
BaseSignerWalletAdapter.removeListener
Defined in
node_modules/eventemitter3/index.d.ts:63
requestBulkTransactions
▸ Abstract
requestBulkTransactions(transactions
): Promise
<string
[]>
Parameters
transactions
Returns
Promise
<string
[]>
Implementation of
MessageSignerWalletAdapter.requestBulkTransactions
Defined in
requestDeploy
▸ Abstract
requestDeploy(deployment
): Promise
<string
>
Parameters
deployment
Returns
Promise
<string
>
Implementation of
MessageSignerWalletAdapter.requestDeploy
Defined in
requestExecution
▸ Abstract
requestExecution(transaction
): Promise
<string
>
Parameters
transaction
Returns
Promise
<string
>
Implementation of
MessageSignerWalletAdapter.requestExecution
Defined in
requestRecordPlaintexts
▸ Abstract
requestRecordPlaintexts(program
): Promise
<any
[]>
Parameters
program
string
Returns
Promise
<any
[]>
Implementation of
MessageSignerWalletAdapter.requestRecordPlaintexts
Defined in
requestRecords
▸ Abstract
requestRecords(program
): Promise
<any
[]>
Parameters
program
string
Returns
Promise
<any
[]>
Implementation of
MessageSignerWalletAdapter.requestRecords
Defined in
requestTransaction
▸ Abstract
requestTransaction(transaction
): Promise
<string
>
Parameters
transaction
Returns
Promise
<string
>
Implementation of
MessageSignerWalletAdapter.requestTransaction
Defined in
requestTransactionHistory
▸ Abstract
requestTransactionHistory(program
): Promise
<any
[]>
Parameters
program
string
Returns
Promise
<any
[]>
Implementation of
MessageSignerWalletAdapter.requestTransactionHistory
Defined in
signMessage
▸ Abstract
signMessage(message
): Promise
<Uint8Array
>
Parameters
message
Uint8Array
Returns
Promise
<Uint8Array
>
Implementation of
MessageSignerWalletAdapter.signMessage
Defined in
transactionStatus
▸ Abstract
transactionStatus(transactionId
): Promise
<string
>
Parameters
transactionId
string
Returns
Promise
<string
>
Implementation of
MessageSignerWalletAdapter.transactionStatus
Defined in
Last updated