v1
latestOpenAPI 3.0.02026-07-266032101.8 KBTSwap
Deposit/Withdraw SOL
Creates the transaction to Deposit/Withdraw SOL to/from a TSwap pool
get/tx/tswap/deposit_withdraw_sol
Query parameters
action'DEPOSIT' | 'WITHDRAW' required
The action to perform. Either "deposit" or "withdraw"
poolAddressstring required
The address of the swap pool
lamportsnumber float required
The amount of SOL to deposit/withdraw
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
Response
Ok