Vana SDK - v4.1.0
    Preparing search index...

    Interface EscrowPaymentHeaderConfig

    Configuration required to sign an escrow X-PAYMENT header.

    interface EscrowPaymentHeaderConfig {
        escrowContract: `0x${string}`;
        chainId: number;
        signTypedData: SignTypedDataFn;
        nonceSource?: PaymentNonceSource;
    }

    Hierarchy (View Summary)

    Index

    Properties

    escrowContract: `0x${string}`

    Deployed DataPortabilityEscrow contract address.

    chainId: number

    Chain id for the EIP-712 domain (1480 mainnet, 14800 moksha).

    signTypedData: SignTypedDataFn

    App EIP-712 signer.

    nonceSource?: PaymentNonceSource

    Supplies the next payment nonce for a payer. Defaults to a process-local monotonic counter seeded at 1. Provide a durable source in production so nonces survive restarts (the gateway rejects reused (payer, nonce) pairs).