Taquito TypeDocs
    Preparing search index...

    Implements

    • WalletProvider
    Index

    Constructors

    Properties

    client: DAppClient

    The underlying Beacon DAppClient instance.

    Exposed for advanced use cases such as subscribing to Beacon events. Calling methods directly on the client (e.g., client.clearActiveAccount()) bypasses Taquito's wallet lifecycle. For disconnecting, prefer BeaconWallet.disconnect instead.

    Methods

    • Clear the active account without destroying the Beacon session.

      This removes the active account reference from local storage but does not clear other Beacon state such as the cached relay node (beacon:matrix-selected-node) or peer data.

      Use this for switching between accounts within an active session. For a full logout that clears all Beacon storage, use disconnect instead.

      Returns Promise<void>

    • Disconnect the wallet and clear the active Beacon session.

      This is the recommended way to end a user session (logout). It calls client.disconnect() under the hood, which notifies wallet peers, clears the active account, and tears down the active Beacon transports.

      After calling this method, the BeaconWallet instance can be used to reconnect through a new permission request.

      For switching accounts without a full logout, use clearActiveAccount instead.

      Returns Promise<void>

    • Transform WalletDelegateParams into a format compliant with the underlying wallet

      Parameters

      • params: () => Promise<WalletDelegateParams>

      Returns Promise<RPCOperationWithLimits>

    • Transform WalletFinalizeUnstakeParams into a format compliant with the underlying wallet

      Parameters

      • params: () => Promise<WalletFinalizeUnstakeParams>

      Returns Promise<RPCOperationWithLimits>

    • Transform WalletIncreasePaidStorageParams into a format compliant with the underlying wallet

      Parameters

      • params: () => Promise<WalletIncreasePaidStorageParams>

      Returns Promise<RPCOperationWithLimits>

    • Transform WalletOriginateParams into a format compliant with the underlying wallet

      Parameters

      • params: () => Promise<WalletOriginateParams>

      Returns Promise<RPCOperationWithLimits>

    • Transform WalletRegisterGlobalConstantParams into a format compliant with the underlying wallet

      Parameters

      • params: () => Promise<WalletRegisterGlobalConstantParams>

      Returns Promise<RPCOperationWithLimits>

    • Transform WalletStakeParams into a format compliant with the underlying wallet

      Parameters

      • params: () => Promise<WalletStakeParams>

      Returns Promise<RPCOperationWithLimits>

    • Transform WalletTransferParams into a format compliant with the underlying wallet

      Parameters

      • params: () => Promise<WalletTransferParams>

      Returns Promise<RPCOperationWithLimits>

    • Transform WalletTransferTicketParams into a format compliant with the underlying wallet

      Parameters

      • params: () => Promise<WalletTransferTicketParams>

      Returns Promise<RPCOperationWithLimits>

    • Transform WalletUnstakeParams into a format compliant with the underlying wallet

      Parameters

      • params: () => Promise<WalletUnstakeParams>

      Returns Promise<RPCOperationWithLimits>

    • Parameters

      • params:
            | WalletTransferParams
            | WalletStakeParams
            | WalletUnstakeParams
            | WalletFinalizeUnstakeParams
            | WalletOriginateParams
            | WalletDelegateParams
            | WalletRegisterGlobalConstantParams
            | WalletTransferTicketParams
            | WalletIncreasePaidStorageParams
      • operatedParams: RPCOperationWithLimits

      Returns RPCOperationWithLimits

    • Request the wallet to sign a payload

      Parameters

      • bytes: string
      • Optionalwatermark: Uint8Array<ArrayBufferLike>

      Returns Promise<string>