T402 API Reference - v2.9.0
    Preparing search index...

    Type Alias ClientStellarSigner

    ClientStellarSigner - Used by t402 clients to sign Soroban transactions

    This interface represents a Stellar account that can:

    • Build and sign Soroban token transfer transactions
    • Query the current ledger sequence

    Implementations may include:

    • Stellar Keypair with secret key
    • Freighter wallet adapter
    • Hardware wallet integration (Ledger)
    type ClientStellarSigner = {
        address: string;
        buildAndSignTransfer(params: BuildTransferParams): Promise<string>;
        getCurrentLedger(): Promise<number>;
    }
    Index

    Properties

    address: string

    The account address (G-account)

    Methods

    • Get the current ledger sequence number Used for calculating transaction validity bounds

      Returns Promise<number>

      Current ledger sequence number