MonacoSDK | null
Monaco SDK instance (null while initializing)
string
Application client ID from provider
Error | null
SDK initialization error if any
() => void
Clear the current error
(error: Error | null) => void
Set an error state
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Monaco is currently in Testnet. Want to trade? Access Testnet Now.
Access SDK instance and global state
import { useMonacoSDK } from "@0xmonaco/react";
const {
sdk,
clientId,
error,
clearError,
setError
} = useMonacoSDK();
Was this page helpful?
