Type alias BundlrWalletAdapter

BundlrWalletAdapter: {
    publicKey: PublicKey | null;
    sendTransaction: ((transaction: Transaction, connection: Connection, options?: SendOptions & {
        signers?: Web3Signer[];
    }) => Promise<TransactionSignature>);
    signMessage?: ((message: Uint8Array) => Promise<Uint8Array>);
    signTransaction?: ((transaction: Transaction) => Promise<Transaction>);
    signAllTransactions?: ((transactions: Transaction[]) => Promise<Transaction[]>);
}

Type declaration

  • publicKey: PublicKey | null
  • sendTransaction: ((transaction: Transaction, connection: Connection, options?: SendOptions & {
        signers?: Web3Signer[];
    }) => Promise<TransactionSignature>)
      • (transaction: Transaction, connection: Connection, options?: SendOptions & {
            signers?: Web3Signer[];
        }): Promise<TransactionSignature>
      • Parameters

        • transaction: Transaction
        • connection: Connection
        • Optional options: SendOptions & {
              signers?: Web3Signer[];
          }

        Returns Promise<TransactionSignature>

  • Optional signMessage?: ((message: Uint8Array) => Promise<Uint8Array>)
      • (message: Uint8Array): Promise<Uint8Array>
      • Parameters

        • message: Uint8Array

        Returns Promise<Uint8Array>

  • Optional signTransaction?: ((transaction: Transaction) => Promise<Transaction>)
      • (transaction: Transaction): Promise<Transaction>
      • Parameters

        • transaction: Transaction

        Returns Promise<Transaction>

  • Optional signAllTransactions?: ((transactions: Transaction[]) => Promise<Transaction[]>)
      • (transactions: Transaction[]): Promise<Transaction[]>
      • Parameters

        • transactions: Transaction[]

        Returns Promise<Transaction[]>

Generated using TypeDoc