GET

Get Config

La referencia de la API está en inglés. Las guías, la autenticación, los webhooks y los códigos de error están en español.

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
Alcance requerido:wallets:read(una clave nueva sin lista es de solo lectura)

Se Requiere el Permiso del Guardián

"No todo viajero puede erigir una puerta eterna. Para mantener un portal abierto y vigilar su umbral sin descanso, el guardián vigilante debe primero conceder su bendición: implora a Heimdall, y solo entonces perdurará tu piedra rúnica."
Heimdallr Níu-mæðra sonr
ᚱ
"Todo pacto eterno tiene su medida: el Padre de Todos decreta cuántas piedras rúnicas puede erigir un reino, y a qué heraldo se enviarán los presagios."
Odín, el Padre 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.

Otras respuestas

Respuestas que no son el camino feliz y aun así necesitan tratamiento en su integración.

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"
  }
}