React SDK API Overview
This section contains short descriptions of all the components and hooks available in the React SDK. Click on the name of the component or hook to see the full documentation.
|Component or hook||Description|
|YagnaProvider||This component provides context for the Golem React SDK. It's required to wrap your app with this component if you want to use the SDK.|
|useYagna||This hook provides information about the Yagna connection status.|
|useExecutor||This hook allows you to initialize and manage a task executor.|
|useTask||This hook allows you to run a single task on the Golem Network|
|useInvoices||This hook allows you to fetch all invoices known to your Yagna node.|
|useHandleInvoice||This hook allows you to handle invoices (currently only paying them is supported).|
|useDebitNotes||This hook allows you to fetch all debit notes known to your Yagna node.|
|useHandleDebitNote||This hook allows you to handle debit notes (currently only paying them is supported).|
Was this helpful?