Pools
Last updated
Last updated
GET /api/pools HTTP/1.1
Host: staging.api.radfi.co
Accept: */*
POST /api/pools/build-migration HTTP/1.1
Host: staging.api.radfi.co
Content-Type: application/json
Accept: */*
Content-Length: 144
{
"payFeeAddress": "text",
"pools": [
{
"token0Id": "text",
"token1Id": "text",
"fee": 1,
"scVersion": "text"
}
],
"migrateVersion": 1,
"type": "text",
"feeRate": 1
}POST /api/pools/simulate-migration HTTP/1.1
Host: staging.api.radfi.co
Content-Type: application/json
Accept: */*
Content-Length: 144
{
"payFeeAddress": "text",
"pools": [
{
"token0Id": "text",
"token1Id": "text",
"fee": 1,
"scVersion": "text"
}
],
"migrateVersion": 1,
"type": "text",
"feeRate": 1
}POST /api/pools/broadcast-migration HTTP/1.1
Host: staging.api.radfi.co
Content-Type: application/json
Accept: */*
Content-Length: 49
{
"txHex": "text",
"type": "text",
"migrateVersion": 1
}