This guide will walk you through how to simulate a transaction using the Portal Android SDK.
portal.api.simulateTransaction
, which gives you insights into what will happen upon executing the transaction.
Here’s how it works:
NATIVE
or ERC20
or ERC721
or ERC1155
or SPECIAL_NFT
).APPROVE
or TRANSFER
).