Get Global Config

Please note that access to this API requires the API key to have brc20-swap permissions enabled.

Swap's global configuration information.

GEThttps://open-api.unisat.io/v1/brc20-swap/config
Response

Default Response

Body
code*number
msg*string
data*object
Request
const response = await fetch('https://open-api.unisat.io/v1/brc20-swap/config', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "code": 0,
  "msg": "text",
  "data": {
    "moduleId": "text",
    "serviceGasTick": "text",
    "pendingDepositDirectNum": 0,
    "pendingDepositMatchingNum": 0
  }
}

Last updated