addFeeProxy()
addFuturePass()
addFuturePassAndFeeProxy()
checkBalance()
checkBalances()
filterExtrinsicEvents()
getAmountsIn()
getExtrinsicToSend()
getFuturePass()
getGasFees()
getPayloads()
signAndSend()
addFeeProxy()
assetId
: the asset ID to pay the fee in (1 for ROOT, 2 for XRP, 3 for Vortex, etc).slippage
: the slippage to use for the fee (in percentage).addFuturePass()
futurePass
: the FuturePass address to proxy the extrinsic through.addFuturePassAndFeeProxy()
futurePass
: the FuturePass address to proxy the extrinsic through.assetId
: the asset ID to pay the fee in (1 for ROOT, 2 for XRP, 3 for Vortex etc).slippage
: the slippage to use for the fee (in percentage).checkBalance()
walletAddress
: the wallet address to get the balance. Wallet address is optional. When not provided, the wallet address of the instance will be used instead.assetId
: the asset ID to get the balance for.checkBalances()
walletAddress
and assetsId
: an array of the [walletAddresses, assetId] pair to check balances for. Wallet address is optional. When not provided, the wallet address of the instance will be used instead.filterExtrinsicEvents()
events
: array of events to filter.names
: array of names to filter by.getAmountsIn()
amount
: the amount to get the amounts in for.assetId
: the asset ID to get the amounts in for.slippage
: the slippage to use for the amounts in. Defaults to value 5
.getExtrinsicToSend()
getFuturePass()
walletAddress
: the wallet address to get the FuturePass for. Wallet address is optional. When not provided, the wallet address of the instance will be used instead.getGasFees()
getPayloads()
signAndSend()
onSign
: callback function to call when extrinsic is signed.onSend
: callback function to call when extrinsic is sent.