Skip to main content

Info Methods

Info methods return metadata — supported blockchains, providers, and service health.

getChains

Returns a list of all blockchains supported by Rubic.

Example

ChainInterface

Example — get EVM chains only

Example — with testnets


getProviders

Returns all available swap providers grouped by type.

Example

ProvidersInterface

Each provider has:

Example — check if a provider supports a chain pair


healthcheck

Checks whether the Rubic API is up and responsive.
Returns 'I am alive' when the service is healthy.