GET

Get Config

A referência da API está em inglês. Os guias, a autenticação, os webhooks e os códigos de erro estão em português.

Returns the user's fixed addresses config (limits, enabled status and webhook_url).

Per-type maps are null when the account uses the single global limit. When a per-type map is set it replaces the global limit of that origin, and types missing from the map cannot be created. Returns 403 feature_disabled if the feature is disabled for the user.

GEThttps://bridge.bifrostcrypto.com/v1/fixed-wallets/config
Escopo exigido:wallets:read(chave nova sem lista é somente leitura)

É Preciso a Permissão do Guardião

"Nem todo viajante pode erguer um portão eterno. Para manter um portal aberto e vigiar o seu limiar sem descanso, o guardião vigilante deve primeiro conceder a sua bênção: implore a Heimdall, e só então a sua pedra rúnica perdurará."
Heimdallr Níu-mæðra sonr
ᚱ
"Todo pacto eterno tem a sua medida: o Pai de Todos decreta quantas pedras rúnicas um reino pode erguer, e a qual arauto os presságios serão enviados."
Odin, o Pai de Todos

Headers

KeyValue
X-Bifrost-Invoke{{api_key}}

cURL Example

bash
curl -X GET "https://bridge.bifrostcrypto.com/v1/fixed-wallets/config" \
  -H "X-Bifrost-Invoke: YOUR_API_KEY"

Response Example

json
{
  "message": "fixed_wallets_config_success",
  "config": {
    "enabled": 1,
    "max_wallets_panel": 5,
    "max_wallets_panel_per_type": null,
    "max_wallets_external_api": 1000,
    "max_wallets_external_api_per_type": {
      "evm": 800,
      "tron": 200
    },
    "webhook_url": "https://your-site.com/webhook-fixed-wallets"
  }
}

Errors

Every error has the shape error.code, error.message and, when useful, error.details. Authentication, scope and rate-limit errors (401, 403, 429) apply to every endpoint and are described under Authentication.

StatusCodeWhenWhat to do
403feature_disabledFixed addresses are not enabled for the account.Contact support.

Outras respostas

Respostas que não são o caminho feliz e ainda assim precisam de tratamento na sua integração.

403

Feature disabled

Fixed addresses are not enabled for the account. Ask support to enable them.

json
{
  "error": {
    "code": "feature_disabled",
    "message": "This feature is not enabled for the account"
  }
}