v1

latestOpenAPI 3.0.02026-07-266032101.8 KB
TAmm

Deposit/Withdraw SOL

Creates the transaction to Deposit/Withdraw SOL to/from a TAmm pool

get/tx/tamm/deposit_withdraw_sol

Query parameters

action'DEPOSIT' | 'WITHDRAW' required

The action to perform. Either "deposit" or "withdraw"

poolAddressstring required

The address of the TAmm pool

lamportsinteger required

The amount of lamports 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

totalCostnumber double nullable