v1
latestOpenAPI 3.0.02026-07-266032101.8 KBShared Escrow
Deposit/Withdraw Escrow
Creates the transaction to deposit or withdraw from an escrow account
get/tx/deposit_withdraw_escrow
Query parameters
action'DEPOSIT' | 'WITHDRAW' required
The action to perform. Either "deposit" or "withdraw"
ownerstring required
The owner of the Margin account
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
{"stackTrail":"paths:/tx/deposit_withdraw_escrow:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}