Token
In most cases, your code will need to interact with tokens. The SDK makes it easy to verify that the token is usable and that Dexible smart contract has been granted the appropriate spend allowance.
Check Token Validity
The following code uses Dexible to verify that the token is usable on the platform.
Increase Spending
The example above illustrated how easy it is to increase spending allowance for a token using the SDK. As mentioned earlier, we recommend increasing spending to a level you feel comfortable with but at least enough to cover the cost of the order input amount.
Last updated
Was this helpful?