Flush tokens

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

Sweeps token balances from all of the forward addresses of an ETH wallet into the base address.

Path Parameters

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

Request Body

walletId string required
The wallet ID of the base wallet
addresses array[string] required
The forwarder addresses to retrieve tokens from
tokenAddress string required
The address that hosts the token contract
nonce number
The fee address nonce for evmBasedCrossChainFlushing

200 Response

txids array[string]
The transaction ids of the flushing transaction

400 Response

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