@substrate/asset-transfer-api - v0.7.1

    Type Alias AssetTransferApiOpts<T>

    Options that are appplied at initialization of the AssetTransferApi.

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

    Type Parameters

    • T extends ChainInfoKeys | InjectedChainInfoKeys
    Index

    Properties

    chainName?: string

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

    injectedRegistry?: RequireAtLeastOne<
        ChainInfoRegistry<T>
        | ChainInfoRegistry<InjectedChainInfoKeys>,
    >

    Option to inject chain information into the registry.

    overrideRegistry?: RequireAtLeastOne<ChainInfoRegistry<InjectedChainInfoKeys>>

    Option to override the registry with the supplied chain information.

    registryType?: RegistryTypes

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

    MMNEPVFCICPMFPCPTTAAATR