Skip to content

withdrawDeposit

AxVultis edited this page Nov 16, 2022 · 1 revision

The withdrawDeposit method withdraws a deposit. The output will return the transactionHash of the spending transaction.

Request Format

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 20,
  "method": "withdrawDeposit",
  "params": {
    "depositId": 260
  }
}

Request Details:

Argument Mandatory Description Format
depositId Yes Deposit id of the deposit to withdraw int

Response Format

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 20,
  "result": {
    "transactionHash": "a9542ed7768ce61e392777c6cc1d3e3b2c1eddb418ead717d9caa44a4b63672e"
  }
}

Response Details:

Argument Description Format
transactionHash Transaction hash of the spending transaction string
Clone this wiki locally