subscan
Runtime Modules / Router
Spec Version:
Call Functions
Name
Lookup
Parameters
sell6f005
buy6f015
Events
Name
Lookup
Attributes
RouteExecuted6f00["AssetId","AssetId","Balance","Balance"]
Constants
Name
Type
Value
MaxNumberOfTradesU805
Error Types
Name
Docs
TradingLimitReachedThe trading limit has been reached
MaxTradesExceededThe the max number of trades limit is reached
PoolNotSupportedThe AMM pool is not supported for executing trades
RouteHasNoTradesRoute has not trades to be executed
InsufficientBalanceThe user has not enough balance to execute the trade
UnexpectedErrorUnexpected error which should never really happen, but the error case must be handled to prevent panics.