v1

latestOpenAPI 3.0.02026-07-266032101.8 KB
TSwap

Deposit/Withdraw NFT

Creates the transaction to Deposit/Withdraw an NFT to/from a TSwap pool

get/tx/tswap/deposit_withdraw

Query parameters

action'DEPOSIT' | 'WITHDRAW' required

The action to perform. Either "DEPOSIT" or "WITHDRAW"

poolAddressstring required

The address of the swap pool

mintstring required

The address of the mint

blockhashstring required

The blockhash to be passed into the transaction

computeinteger

Compute units for the transaction

priorityMicroLamportsinteger

The priority in micro-lamports to be used for the transaction

nftSourcestring

NFT source

Response

Ok

totalCostnumber double nullable