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

    Type Alias ExactStellarPayload

    Stellar payment payload for the exact scheme Contains a signed Soroban transaction for SEP-41 token transfer

    type ExactStellarPayload = {
        signedTransactionXdr: string;
        authorization: {
            from: string;
            to: string;
            tokenContract: string;
            amount: string;
            maxLedger: number;
            network: string;
        };
    }
    Index

    Properties

    signedTransactionXdr: string

    Base64 encoded signed transaction envelope (XDR format) Contains the complete Soroban transfer transaction ready for submission

    authorization: {
        from: string;
        to: string;
        tokenContract: string;
        amount: string;
        maxLedger: number;
        network: string;
    }

    Transfer authorization metadata Provides human-readable and verifiable parameters

    Type Declaration

    • from: string

      Sender account address (G-account, 56 chars, starts with G)

    • to: string

      Recipient account address (G-account, 56 chars, starts with G)

    • tokenContract: string

      Token contract address (C-account, 56 chars, starts with C) Identifies which Soroban token (SEP-41) is being transferred

    • amount: string

      Token amount in smallest units (e.g., 10000000 for 1.0 USDC with 7 decimals)

    • maxLedger: number

      Maximum ledger sequence number for transaction validity Transaction will be rejected after this ledger closes

    • network: string

      CAIP-2 network identifier