CDP Frontend SDK
    Preparing search index...

    Type Alias ProviderState

    The attributes/methods representing the state of the provider

    type ProviderState = {
        chainId: number;
        setChainId: (chainId: number) => void;
        chains: readonly [Chain, ...Chain[]];
        user: User | null;
        setUser: (user: User | null) => void;
    }
    Index

    Properties

    chainId: number
    setChainId: (chainId: number) => void
    chains: readonly [Chain, ...Chain[]]
    user: User | null
    setUser: (user: User | null) => void