Type alias BundlrWalletAdapter
BundlrWalletAdapter: {
publicKey: web3.PublicKey | null;
sendTransaction: ((transaction, connection, options?) => Promise<web3.TransactionSignature>);
signAllTransactions?: ((transactions) => Promise<web3.Transaction[]>);
signMessage?: ((message) => Promise<Uint8Array>);
signTransaction?: ((transaction) => Promise<web3.Transaction>);
}
Type declaration
-
publicKey: web3.PublicKey | null
-
sendTransaction: ((transaction, connection, options?) => Promise<web3.TransactionSignature>)
-
- (transaction, connection, options?): Promise<web3.TransactionSignature>
-
Parameters
-
transaction: web3.Transaction
-
connection: web3.Connection
-
Optional
options: web3.SendOptions & {
signers?: web3.Signer[];
}
Returns Promise<web3.TransactionSignature>
-
Optional
signAllTransactions?: ((transactions) => Promise<web3.Transaction[]>)
-
- (transactions): Promise<web3.Transaction[]>
-
Parameters
-
transactions: web3.Transaction[]
Returns Promise<web3.Transaction[]>
-
Optional
signMessage?: ((message) => Promise<Uint8Array>)
-
- (message): Promise<Uint8Array>
-
Returns Promise<Uint8Array>
-
Optional
signTransaction?: ((transaction) => Promise<web3.Transaction>)
-
- (transaction): Promise<web3.Transaction>
-
Parameters
-
transaction: web3.Transaction
Returns Promise<web3.Transaction>