Create a crosschain recovery transaction

post/api/v2/{coin}/admin/crosschainrecovery/recoverytransaction

This endpoint will build a crosschain recovery transaction.

Path Parameters

  • coinstringRequired
    A cryptocurrency symbol or token ticker symbol
    Example: btc

Request Body

wrongChainCoin string required
The blockchain where the funds were mistakenly sent to.
Min length: >= 1 characters
wrongChainAddress string required
The address where the funds were sent to on the wrong chain.
Min length: >= 1 characters
amount string required
The amount of funds that were mistakenly sent.
Min length: >= 1 characters
nonce number required
The nonce of the transaction that sent the funds to the wrong chain.
destinationAddress string required
The address where the funds should be recovered to.
Min length: >= 1 characters
tokenContractAddress string
The token contract address if the funds were sent to a token contract.

200 Response

txid string required
The recovery transaction ID

400 Response

One of
name string
Error code
context object required
Properties that apply to a specific error name
error string required
Human-readable error message
requestId string required
Client request id