Shared Escrow

Deposit/Withdraw Escrow

Creates the transaction to deposit or withdraw from an escrow account

get/tx/deposit_withdraw_escrow

Request

  • Base URL
    https://api.mainnet.tensordev.io/api/v1
  • URL
    https://api.mainnet.tensordev.io/api/v1/tx/deposit_withdraw_escrow
  • Auth
    API key in header x-tensor-api-key

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

unknown required

Changes

No recorded changes to this operation across all 2 revisions of this API.