pending_tx_list: pending tx list. Transaction Pre-Execute API supports simulating the execution of multiple transactions at the same time. A common use case happens when swapping on dex, where the ERC20 token needs to be approved before the swap.Simulation of the swap transaction will fail unless multiple transactions can be pre-executed simultaneously.\
So you just need to put the transaction you want to execute in advance into the pending_tx_list,
and we will execute the transactions in the pending_tx_list before the main transaction.
Returns
Request
Result
An object with following fields:
balance_change - balance change info
success: whether the balance change detection is success or not.
error: return error msg, if the balance change detection is fail, otherwise is null.
send_token_list: list of send token info.
receive_token_list: list of receive token info.
send_nft_list: list of send nft info.
receiver_nft_list: list of receive nft info.
usd_value_change: change in the value of the dollar.
gas - gas estimate info.
success: whether the gas estimate is success or not.
error: return error msg, if the gas estimate is fail, otherwise is null.
gas_used: gas used.
pre_exec - pre exec info
success: whether pre exec is success or not.
error: return error msg, if the pre exec is fail, otherwise is null.
is_multisig - whether it is a multisig tx
multisig - if it is a multisig tx, it will return info which include the same format as the above info.