Creates the provider-side router metadata.
This constructor does not make a network request. It throws before the
instance is usable when api.addresses.router is missing.
The configured AftermathApi provider.
ReadonlyaddressesThe configured router package and object addresses.
ReadonlyeventEvent types derived from the configured router package address.
The fully qualified SwapCompletedEvent type.
ReadonlymoveMove error names grouped by package, module, and numeric code.
Static ReadonlyconstantsNames of the router Move modules used to build event and error keys.
Event names emitted by the router utility package.
The event emitted after a routed swap completes.
Move module names in the router utility package.
The module that authorizes shared-object access.
The module that emits router events.
The module that charges protocol fees.
The module that validates routed swaps.
The module that guards package versions.
Provides router package addresses, event types, and decoded Move errors for applications that use
AftermathApidirectly.The high-level
Routerclass performs HTTP reads and transaction requests.RouterApiexposes the provider-side on-chain metadata used to interpret those requests and events.