DEX.AG
Search…
validate
Validates the client's web3 browser and performs necessary preparations to execute a trade
This function performs the following:
    Validates the balance of the client's account
    Sets the token allowance
    Wraps ETH (when necessary)
    Tracks transactions performed in this process
Due its extensive functionality this function provides, we recommend you see it in action.
validate
1
sdk.validate(tx)
Copied!
Last modified 2yr ago
Copy link