Router Mechanism
Overview of Kriya Router
Last updated
Overview of Kriya Router
Last updated
Kriya router is a multi-protocol, multi-path router that leverages Sui's PTB (programmable txn blocks) to aggregate liquidity from all sources to execute trades and find the best price for traders.
These sources are -
Kriya CLMM, AMM pools
Deepbook
Other protocols integrated via Hop and AF Routers
The GetRoute function uses the Pyth Oracle to determine the deviation of each source from the benchmark. Sources with high deviation are excluded from the route.