Liquidity

Provide and withdraw liquidity from perpetual trading pools

Provide liquidity to the pool

post

Provides liquidity to a perpetual trading pool for a specific asset. Minimum amounts apply based on asset type.

Body
Responses
200

Successfully created provide liquidity transaction

application/json
post
POST /api/perpetuals/provideLiquidity HTTP/1.1
Host: app.strikefinance.org
Content-Type: application/json
Accept: */*
Content-Length: 88

{
  "request": {
    "address": "text",
    "asset": {
      "policyId": "text",
      "assetName": "text"
    },
    "amount": 1
  }
}
{
  "cbor": "text"
}

Withdraw liquidity from the pool

post

Withdraws liquidity from a perpetual trading pool for a specific asset.

Body
Responses
200

Successfully created withdraw liquidity transaction

application/json
post
POST /api/perpetuals/withdrawLiquidity HTTP/1.1
Host: app.strikefinance.org
Content-Type: application/json
Accept: */*
Content-Length: 88

{
  "request": {
    "address": "text",
    "asset": {
      "policyId": "text",
      "assetName": "text"
    },
    "amount": 1
  }
}
{
  "cbor": "text"
}