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

    Class ExactDirectAptosClient

    Aptos Exact-Direct Client

    Implements the client-side payment flow where the client:

    1. Receives payment requirements
    2. Executes the FA transfer transaction
    3. Returns transaction hash as proof

    Implements

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    scheme: "exact-direct" = SCHEME_EXACT_DIRECT

    Methods

    • Create a payment payload by executing the transfer

      Parameters

      • t402Version: number
      • paymentRequirements: PaymentRequirements

      Returns Promise<Pick<PaymentPayload, "t402Version" | "payload">>