Virtual Account - Error sending assets to Blockchain

Modified on Mon, 21 Nov 2022 at 05:36 PM

When sending assets from a virtual account to the blockchain you may get a response or face a problem looking as follows:

  • TX is completed on the API side, but the Blockchain shows an error
    • Fail with error 'BEP20: transfer amount exceeds balance.
    • Warning! Error encountered during contract execution [execution reverted]
    • BEP-20 Token Transfer Error (Unable to locate corresponding Transfer Event Logs), Check with Sender
  • API response body returns an error
    • Not enough funds in the account
    • Unable to broadcast transaction. Contract validate error : account does not exist

Good to know

  • Get all deposit addresses for a virtual account: finds all linked deposit addresses to the VA and confirm derivationKey
  • Get account by ID: confirms currency, VA balance and more. 
  • Off-chain Transfers from a Virtual Account to Blockchain require proper use a combination of Mnemonics, xpub, address, index, and PrivateKey via a match dictated by the REQUEST BODY SCHEMA


Example:

Send TRON from a virtual account to the blockchain, where you would select REQUEST BODY SCHEMA: TransferTronMnemonics

POST || {{baseUrl}}/v3/offchain/tron/transfer

{
    "address": "TVAEYCmc15awaDRAjUZ1kvcHwQQa######",
    "amount": "100000",
    "index": 13,
    "mnemonic": "urge pulp usage sister evidence #### #### #### #### #### #### ####",
    "senderAccountId": "5e68c66581f2ee32bc######"
}
Make sure the Mnemonics, address and especially the index are a match in your Wallet, and that the address you are using containts enough Assets to cover the transaction.
In the specific case of TRON, make sure the address was activated by having a few TRX in it.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article