Last updated 1 year ago
Please note that access to this API requires the API key to have brc20-swap permissions enabled.
Default Response
const response = await fetch('https://open-api.unisat.io/v1/brc20-swap/swap_history?start=0&limit=0', { method: 'GET', headers: { "Authorization": "Bearer JWT" }, }); const data = await response.json();
{ "code": 0, "msg": "text", "data": { "total": 0, "list": [ { "tickIn": "text", "tickOut": "text", "amountIn": "text", "amountOut": "text", "exactType": "text", "ts": 0 } ] } }