Saltar para o conteúdo principal
GET
/
v1
/
wallets
/
{walletId}
/
auto-settlements
/
rules
Master Wallet Get Rules
curl --request GET \
  --url https://api.blockradar.co/v1/wallets/{walletId}/auto-settlements/rules \
  --header 'x-api-key: <api-key>'
{
  "data": [
    {
      "destination": {
        "address": "0x0077777d7EBA4688BDeF3E311b846F25870A19B9",
        "asset": "USDC",
        "blockchain": "base",
        "isGateway": true
      },
      "isActive": true,
      "name": "Swap from Base USDC to Gateway",
      "order": "FASTEST",
      "slippageTolerance": "5",
      "source": {
        "assets": [
          "USDC"
        ],
        "blockchain": "base",
        "maxAmount": "1000",
        "minAmount": "1"
      }
    }
  ],
  "message": "Auto settlements rules fetched successfully",
  "statusCode": 200
}

Autorizações

x-api-key
string
header
obrigatório

Parâmetros de caminho

walletId
string
obrigatório
Exemplo:

"{{walletId}}"

Resposta

200 - application/json

200

data
object[]
Exemplo:
[
  {
    "destination": {
      "address": "0x0077777d7EBA4688BDeF3E311b846F25870A19B9",
      "asset": "USDC",
      "blockchain": "base",
      "isGateway": true
    },
    "isActive": true,
    "name": "Swap from Base USDC to Gateway",
    "order": "FASTEST",
    "slippageTolerance": "5",
    "source": {
      "assets": ["USDC"],
      "blockchain": "base",
      "maxAmount": "1000",
      "minAmount": "1"
    }
  }
]
message
string
Exemplo:

"Auto settlements rules fetched successfully"

statusCode
number
Exemplo:

200