Vana SDK - v3.5.0
    Preparing search index...

    Variable GENERIC_PAYMENT_TYPESConst

    GENERIC_PAYMENT_TYPES: {
        GenericPayment: readonly [
            { name: "payerAddress"; type: "address" },
            { name: "opType"; type: "string" },
            { name: "opId"; type: "bytes32" },
            { name: "asset"; type: "address" },
            { name: "amount"; type: "uint256" },
            { name: "paymentNonce"; type: "uint256" },
        ];
    } = ...

    EIP-712 typed-data types for a generic op payment.

    The gateway verifies that the recovered signer == payerAddress and that the (payer, paymentNonce) pair has not been seen before. Use a monotonically-increasing nonce; the first payment for any payer should start at 1.

    Type Declaration

    • ReadonlyGenericPayment: readonly [
          { name: "payerAddress"; type: "address" },
          { name: "opType"; type: "string" },
          { name: "opId"; type: "bytes32" },
          { name: "asset"; type: "address" },
          { name: "amount"; type: "uint256" },
          { name: "paymentNonce"; type: "uint256" },
      ]