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

    Interface PersonalServerDataAccessPaymentOperation

    A validated receipt-bound data-access payment challenge.

    interface PersonalServerDataAccessPaymentOperation {
        grantId: string;
        network?: string;
        asset: string;
        amount: string;
        raw: unknown;
        opType: "data_access";
        opId: string;
        accessRecord: EscrowAccessRecord;
        paymentNonce: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    grantId: string

    Grant id authorizing the Personal Server read.

    network?: string

    X402 network advertised by the Personal Server challenge.

    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.

    opType: "data_access"

    Escrow operation discriminator.

    opId: string

    Access-record id settled by the escrow payment.

    accessRecord: EscrowAccessRecord

    Complete receipt whose signature is verified later by the gateway.

    paymentNonce: string

    Positive uint256 nonce supplied by the Personal Server challenge.