Type alias IrysWalletAdapter
IrysWalletAdapter: {
publicKey: Web3JsPublicKey | null;
sendTransaction: ((transaction: Web3JsTransaction, connection: Web3JsConnection, options?: Web3JsSendOptions & {
signers?: Web3JsSigner[];
}) => Promise<Web3JsTransactionSignature>);
signAllTransactions?: ((transactions: Web3JsTransaction[]) => Promise<Web3JsTransaction[]>);
signMessage?: ((message: Uint8Array) => Promise<Uint8Array>);
signTransaction?: ((transaction: Web3JsTransaction) => Promise<Web3JsTransaction>);
}
Type declaration
-
publicKey: Web3JsPublicKey | null
-
sendTransaction: ((transaction: Web3JsTransaction, connection: Web3JsConnection, options?: Web3JsSendOptions & {
signers?: Web3JsSigner[];
}) => Promise<Web3JsTransactionSignature>)
-
- (transaction: Web3JsTransaction, connection: Web3JsConnection, options?: Web3JsSendOptions & {
signers?: Web3JsSigner[];
}): Promise<Web3JsTransactionSignature>
-
Parameters
-
transaction: Web3JsTransaction
-
connection: Web3JsConnection
-
Optional
options: Web3JsSendOptions & {
signers?: Web3JsSigner[];
}
Returns Promise<Web3JsTransactionSignature>
-
Optional
signAllTransactions?: ((transactions: Web3JsTransaction[]) => Promise<Web3JsTransaction[]>)
-
- (transactions: Web3JsTransaction[]): Promise<Web3JsTransaction[]>
-
Parameters
-
transactions: Web3JsTransaction[]
Returns Promise<Web3JsTransaction[]>
-
Optional
signMessage?: ((message: Uint8Array) => Promise<Uint8Array>)
-
- (message: Uint8Array): Promise<Uint8Array>
-
Returns Promise<Uint8Array>
-
Optional
signTransaction?: ((transaction: Web3JsTransaction) => Promise<Web3JsTransaction>)
-
- (transaction: Web3JsTransaction): Promise<Web3JsTransaction>
-
Parameters
-
transaction: Web3JsTransaction
Returns Promise<Web3JsTransaction>