v1

latestOpenAPI 3.0.02026-07-266032101.8 KB
TSwap

Edit TSwap Pool

Creates the transaction to edit a TSwap pool

get/tx/tswap/edit_order

Query parameters

poolAddressstring required

The address of the swap pool

poolType'TOKEN' | 'NFT' | 'TRADE' required

The type of Pool to create

curveType'LINEAR' | 'EXPONENTIAL' | 'XYK' required

The type of curve to use for the pool

startingPricenumber float required

The starting price of the listing

deltanumber float required

The increase after each sale

blockhashstring required

The blockhash to be used for the transaction

mmKeepFeesSeparateboolean

Allows you to buy NFTs using market maker fees

mmFeeBpsnumber double

Market making fee in basis points

maxTakerSellCountinteger

Maximum number of bids that can be accepted by the pool

useSharedEscrowboolean

Use Shared Escrow

computeinteger

Compute units for the transaction

priorityMicroLamportsinteger

The priority micro lamports to be used for the transaction

Response

Ok

totalCostnumber double nullable