Withdraw Escrow

Bids will lock funds into escrows which you can withdraw from

Function: createWithdrawEscrowTx

Inputs:

  • [Required] userAddress

    • Type: string

    • Description: address to withdraw escrow from

  • [Required] amount

    • Type: number

    • Description: escrow amount to withdraw

Response:

GetWithdrawEscrowTxQuery

Example:

const input: GetWithdrawEscrowTxQueryVariables = {
  amount: .01,
  userAddress: "3g42SPvRrmke2MAyL2MpCZTkGEXGcgP829HtqopJCnYJ"
}

hsClient.createWithdrawEscrowTx(input)

Last updated