Pular para o conteúdo

List organization wallet limits

Requisição

List all wallet limits within the organization

Segurança
TokenAuth
Corpoapplication/jsonobrigatório
pageSizeinteger, (int32)

The number of results to return per page (default 50, max 1000)

Exemplo:1000
pageTokenstring

The token to retrieve the next page of results

Exemplo:"cGFnZV9zaXplPTEwJnBhZ2VfdG9rZW49MjA="
paginationobject(v2FilterRequest)

Pagination and sorting. Sortable fields: asset_symbol, blockchain, limit_type, status, active, created_at, updated_at.

filterobject(v2WalletLimitFilter)

Optional wallet-limit filters. Each populated sub-filter is AND-ed.

searchstring

Case-insensitive search over wallet limit ID, vault ID, wallet ID, and asset symbol.

Exemplo:"limit"
curl -i -X POST \
  https://docs.ripple.com/_mock/pt-br/products/wallet/api-docs/palisade-api/palisade-api/v2/policy-rules/limits:list \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "pageSize": 1000,
    "pageToken": "cGFnZV9zaXplPTEwJnBhZ2VfdG9rZW49MjA=",
    "pagination": {
      "pageSize": 50,
      "pageToken": "cGFnZV9zaXplPTEwJnBhZ2VfdG9rZW49MjA=",
      "orderBy": "created_at",
      "order": "SORT_ORDER_ASC"
    },
    "filter": {
      "id": {
        "eq": "string",
        "notEq": "string",
        "contains": "string",
        "startsWith": "string",
        "endsWith": "string",
        "in": [
          "string"
        ],
        "notIn": [
          "string"
        ],
        "isNull": true
      },
      "vaultId": {
        "eq": "string",
        "notEq": "string",
        "contains": "string",
        "startsWith": "string",
        "endsWith": "string",
        "in": [
          "string"
        ],
        "notIn": [
          "string"
        ],
        "isNull": true
      },
      "walletId": {
        "eq": "string",
        "notEq": "string",
        "contains": "string",
        "startsWith": "string",
        "endsWith": "string",
        "in": [
          "string"
        ],
        "notIn": [
          "string"
        ],
        "isNull": true
      },
      "assetSymbol": {
        "eq": "string",
        "notEq": "string",
        "contains": "string",
        "startsWith": "string",
        "endsWith": "string",
        "in": [
          "string"
        ],
        "notIn": [
          "string"
        ],
        "isNull": true
      },
      "blockchain": {
        "eq": "AVALANCHE",
        "notEq": "AVALANCHE",
        "in": [
          "AVALANCHE"
        ],
        "notIn": [
          "AVALANCHE"
        ]
      },
      "limitType": "PER_TX",
      "status": "LIMIT_CREATED",
      "active": {
        "eq": true,
        "isNull": true
      },
      "createdAt": {
        "eq": "2024-08-08T10:00:00Z",
        "notEq": "2024-08-08T10:00:00Z",
        "before": "2024-08-08T10:00:00Z",
        "after": "2024-08-08T10:00:00Z",
        "gte": "2024-08-08T10:00:00Z",
        "lte": "2024-08-08T10:00:00Z",
        "between": {
          "start": "2024-08-01T00:00:00Z",
          "end": "2024-08-31T23:59:59Z"
        },
        "isNull": true,
        "relativeDays": -7
      },
      "updatedAt": {
        "eq": "2024-08-08T10:00:00Z",
        "notEq": "2024-08-08T10:00:00Z",
        "before": "2024-08-08T10:00:00Z",
        "after": "2024-08-08T10:00:00Z",
        "gte": "2024-08-08T10:00:00Z",
        "lte": "2024-08-08T10:00:00Z",
        "between": {
          "start": "2024-08-01T00:00:00Z",
          "end": "2024-08-31T23:59:59Z"
        },
        "isNull": true,
        "relativeDays": -7
      }
    },
    "search": "limit"
  }'

Respostas

A successful response.

Corpoapplication/json
filterobject(v2FilterResponse)
walletLimitsArray of objects(v2WalletLimit)
Resposta
{ "filter": { "previousPageToken": "cGFnZV9zaXplPTEwJnBhZ2VfdG9rZW49MjA=", "nextPageToken": "cGFnZV9zaXplPTEwJnBhZ2VfdG9rZW49MjA=", "total": 100 }, "walletLimits": [ { … } ] }