AssetTransferApiOpts: {
    chainName?: string;
    injectedRegistry?: RequireAtLeastOne<
        ChainInfoRegistry<T>
        | ChainInfoRegistry<InjectedChainInfoKeys>,
    >;
    overrideRegistry?: RequireAtLeastOne<
        ChainInfoRegistry<InjectedChainInfoKeys>,
    >;
    registryType?: RegistryTypes;
}

Options that are appplied at initialization of the AssetTransferApi.

Type Parameters

  • T extends ChainInfoKeys | InjectedChainInfoKeys

Type declaration

  • OptionalchainName?: string

    Chain name of the chain which the api is connected to.

  • OptionalinjectedRegistry?: RequireAtLeastOne<
        ChainInfoRegistry<T>
        | ChainInfoRegistry<InjectedChainInfoKeys>,
    >

    Option to inject chain information into the registry.

  • OptionaloverrideRegistry?: RequireAtLeastOne<ChainInfoRegistry<InjectedChainInfoKeys>>

    Option to override the registry with the supplied chain information.

  • OptionalregistryType?: RegistryTypes

    Whether or not to apply the registry from the npm package asset-transfer-api-registry, or the hosted CDN which updates frequently.

MMNEPVFCICPMFPCPTTAAATR