Sending Dexilon Transactions

If you've passed the Registration and Authorization steps correctly, now you can interact with the platform.

All Dexilon transactions are gas free and thats why sdk doesn't support any gas params

Available methods

Deposit Trading

Transfer your assets to futures balance. After this step you can start trading!

  const asset = 'usdt';
  const usdtAmount = '10' + '0'.repeat(18) // 10 USDT with 18 decimals
  await granteeClient.depositTrading(granterWallet.address, usdtAmount, asset);
Withdraw

Bridge your assets from Dexilon to L1

  const amount = '10' + '0'.repeat(18);
  const denom = 'usdt';
  const chainId = 80001;
  await granteeClient.withdraw(granterWallet.address, denom, amount, chainId);

Last updated