Pular para o conteúdo

Get a wallet limit policy

Requisição

Get the specified wallet limit policy

Segurança
TokenAuth
Caminho
vaultIdstringobrigatório

The vault ID

walletIdstringobrigatório

The wallet ID

idstringobrigatório

The wallet limit policy ID

curl -i -X GET \
  'https://docs.ripple.com/_mock/pt-br/products/wallet/api-docs/palisade-api/palisade-api/v2/vaults/{vaultId}/wallets/{walletId}/policy-rules/limits/{id}' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Respostas

Corpoapplication/json
idstringobrigatório

The wallet limit policy ID

Exemplo:"ce4918bf-a199-4ce2-85a3-d0d296855384"
createdBystringobrigatório

The creator ID

Exemplo:"ce4918bf-a199-4ce2-85a3-d0d296855384"
walletIdstringobrigatório

The wallet ID

Exemplo:"ce4918bf-a199-4ce2-85a3-d0d296855384"
vaultIdstringobrigatório

The vault ID

Exemplo:"ce4918bf-a199-4ce2-85a3-d0d296855384"
limitQtystring

The limit quantity

Exemplo:"200.00"
durationstring

The limit duration

Exemplo:"200s"
limitTypestring(v2LimitType)obrigatório

The limit type

Enum:"PER_TX""CONSTANT""ROLLING_DURATION"
Exemplo:"PER_TX"
createdAtstring, (date-time)obrigatório

The date and time the wallet limit policy was created

Exemplo:"2022-03-29T10:22:22.420Z"
updatedAtstring, (date-time)obrigatório

The date and time the wallet limit policy was updated

Exemplo:"2022-03-29T10:22:22.420Z"
assetobject(commonv2Asset)obrigatório
matchersArray of objects(v2Matcher)
statusstring(v2WalletLimitStatus)obrigatório

The wallet limit status

Enum:"LIMIT_CREATED""LIMIT_ENABLED""LIMIT_REJECTED""LIMIT_DELETED""LIMIT_ERROR""LIMIT_CREATION_APPROVAL_PENDING""LIMIT_CREATION_APPROVAL_COMPLETE""LIMIT_DELETION_APPROVAL_PENDING""LIMIT_DELETION_APPROVAL_COMPLETE"
Exemplo:"PENDING"
activebooleanobrigatório

Whether the limit is active

Exemplo:true
blockchainstring(v2Blockchain)

The blockchain associated with this policy

Enum:"AVALANCHE""ETHEREUM""XRP_LEDGER""POLYGON""BNBCHAIN""BASE""HEDERA""ARBITRUM""ONE_MONEY""SOLANA"
Exemplo:"ETHEREUM"
Resposta
{ "id": "ce4918bf-a199-4ce2-85a3-d0d296855384", "createdBy": "ce4918bf-a199-4ce2-85a3-d0d296855384", "walletId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "vaultId": "ce4918bf-a199-4ce2-85a3-d0d296855384", "limitQty": "200.00", "duration": "200s", "limitType": "PER_TX", "createdAt": "2022-03-29T10:22:22.420Z", "updatedAt": "2022-03-29T10:22:22.420Z", "asset": { "id": "5:0xbehbehfb:USDC", "standard": "ERC20", "symbol": "LINK", "name": "Chainlink", "blockchain": "AVALANCHE", "decimals": 18, "vetted": true, "enabled": true, "contract": "0x0b9d5D9136855f6FEc3c0993feE6E9CE8a297846e", "createdAt": "2022-03-29T10:22:22.420Z", "updatedAt": "2022-03-29T10:22:22.420Z", "organizationId": "string", "coingeckoId": "ethereum", "source": "ASSET_SOURCE_COINGECKO", "sourceMetadata": { … }, "lastSyncedAt": "2024-08-08T10:22:22.420Z", "syncVersion": 1, "contractAddressChecksummed": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", "iconUrl": "https://static.palisade.co/registry/assets/coingecko/production/usd-coin.png", "displaySymbol": "weETH" }, "matchers": [ { … } ], "status": "PENDING", "active": true, "blockchain": "ETHEREUM" }