Skip to main content

react.openformatprovider

Home > @openformat/react > OpenFormatProvider

OpenFormatProvider() function

The Provider for the Open Format SDK

Signature:

export declare function OpenFormatProvider({ children, config, }: {
children: React.ReactNode;
config?: {
networks: Chain[];
appId: string;
clientId: string;
signer?: Signer | string;
activeChain?: 'mumbai' | 'polygon' | 'aurora' | 'aurora-testnet';
};
}): JSX.Element;

Parameters

ParameterTypeDescription
{ children, config, }{ children: React.ReactNode; config?: { networks: Chain[]; appId: string; clientId: string; signer?: Signer | string; activeChain?: 'mumbai' | 'polygon' | 'aurora' | 'aurora-testnet'; }; }

Returns:

JSX.Element