POST api/v2/withdrawals

General information about endpoints

Information
Description

Description

Creates a new withdrawal.

Route

POST api/v2/withdrawals

Permissions

Private

Request Parameters:

Parameter

Type

Required

Description

dchain

string

Required

Identifier of the dchain

amount

number

Required

Amount to be withdrawn

destination

string

Optional

Address to which the withdrawal will be sent (mutually exclusive with requisite_id)

destination_tag

string

Optional

Tag of the destination address

requisite_id

string

Optional

Identifier of the requisite (mutually exclusive with destination)

Response:

{
"address" : TWXqPj9ikL4xtGN3DUyj51ozUGCwYjsBa5,
"amount" : 100.0,
"asset" : trx,
"asset_type" : crypto,
"control" : true,
"created_at" : 20240112T10:58:50.070Z,
"dchain_id" : trx,
"done_at" : 20240112T11:01:16.476Z,
"fee" : 16.0,
"high_risk" : false,
"status" : done,
"tag" : ,
"tx_id" : 5b35ee233002317f8ecb9ca3578af629af0234913efb18693452445079e8832a,
"tx_link" : https://e.tronscan.org/#/transaction/5b35ee233002317f8ecb9ca3578af629af0234913efb18693452445079e8832a,
"type" : withdrawal,
"updated_at" : 20240112T11:01:16.476Z,
"uuid" : 15604287808
}