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

    Interface PersonalServerPaymentRequired

    What a Personal Server 402 Payment Required tells the controller is owed for a data read.

    The PS read 402 body identifies the challenged operation and amount/asset. The controller settles it via the DPv2 escrow gateway (/v1/escrow/pay). The full unmodified body is preserved under PersonalServerPaymentRequired.raw.

    interface PersonalServerPaymentRequired {
        grantId: string;
        network?: string;
        paymentNonce?: string;
        accessRecord?: EscrowAccessRecord;
        asset: string;
        amount: string;
        raw: unknown;
    }

    Hierarchy (View Summary)

    Index

    Properties

    grantId: string

    Grant id authorizing the Personal Server read.

    network?: string

    X402 network advertised by the Personal Server challenge.

    paymentNonce?: string

    Payment nonce requested by the 402 challenge.

    accessRecord?: EscrowAccessRecord

    Data-access receipt carrying a signature for the gateway to verify.

    asset: string

    Asset address owed (zero address = native VANA).

    amount: string

    Amount owed, as a decimal base-unit string (preserves uint256 precision).

    raw: unknown

    The full, unmodified 402 response body.