Create an unsigned crosschain recovery transaction

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

This endpoint will build an unsigned crosschain recovery transaction. The transaction will be returned in hex format to he user. Only to be performed by an admin user.

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

txHex string required
The unsigned transaction hex for the crosschain recovery.

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