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

    Function buildWithdrawAuthorizationTypedData

    • Builds the typed data a wallet must sign before calling the withdraw API.

      Parameters

      Returns {
          domain: TypedDataDomain;
          types: {
              WithdrawAuthorization: readonly [
                  { name: "account"; type: "address" },
                  { name: "asset"; type: "address" },
                  { name: "amount"; type: "uint256" },
                  { name: "withdrawNonce"; type: "uint256" },
                  { name: "deadline"; type: "uint256" },
              ];
          };
          primaryType: "WithdrawAuthorization";
          message: WithdrawAuthorizationMessage;
      }