TSwap

Close TSwap Pool

Creates the transaction to close a TSwap pool

get/tx/tswap/close_order

Request

  • Base URL
    https://api.mainnet.tensordev.io/api/v1
  • URL
    https://api.mainnet.tensordev.io/api/v1/tx/tswap/close_order
  • Auth
    API key in header x-tensor-api-key

Query parameters

poolAddressstring required

The address of the swap pool

blockhashstring required

The blockhash to be used for the transaction

computeinteger

Compute units for the transaction

priorityMicroLamportsinteger

The priority micro lamports to be used for the transaction

Response

Ok

totalCostnumber double nullable

Changes

No recorded changes to this operation across all 2 revisions of this API.