UNPKG

@openocean.finance/widget

Version:

Openocean Widget for cross-chain bridging and swapping. It will drive your multi-chain strategy and attract new users from everywhere.

11 lines (10 loc) 451 B
import type { EVMChain } from '@openocean.finance/widget-sdk'; import type { FormType } from '../../stores/form/types.js'; export declare const useChainSelect: (formType: FormType) => { chainOrder: number[]; chains: import("@openocean.finance/widget-sdk").ExtendedChain[]; getChains: () => EVMChain[]; isLoading: boolean; setChainOrder: (chainId: number, type: FormType) => void; setCurrentChain: (chainId: number) => void; };