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

    Variable WITHDRAW_AUTHORIZATION_TYPESConst

    WITHDRAW_AUTHORIZATION_TYPES: {
        WithdrawAuthorization: readonly [
            { name: "account"; type: "address" },
            { name: "asset"; type: "address" },
            { name: "amount"; type: "uint256" },
            { name: "withdrawNonce"; type: "uint256" },
            { name: "deadline"; type: "uint256" },
        ];
    } = ...

    Authorization consumed by POST /v1/escrow/withdraw.

    The current escrow contract always pays account itself. Do not add an unsigned recipient field: a future recipient capability must be introduced as a new, signed protocol type after the contract and gateway support it.

    Type Declaration

    • ReadonlyWithdrawAuthorization: readonly [
          { name: "account"; type: "address" },
          { name: "asset"; type: "address" },
          { name: "amount"; type: "uint256" },
          { name: "withdrawNonce"; type: "uint256" },
          { name: "deadline"; type: "uint256" },
      ]