Skip to main content
GET
/
accounts
/
{accountId}
/
wallets
/
{walletId}
/
permits
Get permit messages for wallet
curl --request GET \
  --url https://api.venlyfinance.com/v1/accounts/{accountId}/wallets/{walletId}/permits \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "result": [
    {
      "supportedAssetId": "aabbccdd-1122-4334-9556-7788990011ab",
      "asset": "USDC",
      "contractAddress": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
      "status": "CONFIRMED",
      "typedData": {
        "types": {
          "EIP712Domain": [
            {
              "name": "name",
              "type": "string"
            },
            {
              "name": "version",
              "type": "string"
            },
            {
              "name": "chainId",
              "type": "uint256"
            },
            {
              "name": "verifyingContract",
              "type": "address"
            }
          ],
          "Permit": [
            {
              "name": "owner",
              "type": "address"
            },
            {
              "name": "spender",
              "type": "address"
            },
            {
              "name": "value",
              "type": "uint256"
            },
            {
              "name": "nonce",
              "type": "uint256"
            },
            {
              "name": "deadline",
              "type": "uint256"
            }
          ]
        },
        "primaryType": "Permit",
        "domain": {
          "name": "USDC",
          "version": "2",
          "chainId": 84532,
          "verifyingContract": "0x036CbD53842c5426634e7929541eC2318f3dCF7e"
        },
        "message": {
          "owner": "0x71C7656EC7ab88b098defB751B7401B5f6d8976F",
          "spender": "0x5B38Da6a701c568545dCfcB03FcB875f56beddC4",
          "value": "115792089237316195423570985008687907853269984665640564039457584007913129639935",
          "nonce": 0,
          "deadline": "4102444800"
        }
      }
    }
  ]
}
Returns the EIP-2612 permit messages for a self-custody account wallet — one per supported asset, each with a supportedAssetId and the typedData to sign. Sign typedData with the wallet owner’s key, then submit it via the POST endpoint to grant a gasless allowance.
Self-custody account wallets only — Venly-managed and escrow wallets are permitted automatically. See Approving transfers without gas.

Authorizations

Path Parameters

accountId
string<uuid>
required

Unique account identifier

walletId
string<uuid>
required

Unique wallet identifier

Response

List of permit messages

success
boolean

Indicates whether the request was successful

result
object[]