Documentation Index
Fetch the complete documentation index at: https://docs.polygon.technology/llms.txt
Use this file to discover all available pages before exploring further.
Import
import { useProjectAccessKey } from '@0xsequence/connect'
Usage
import { useProjectAccessKey } from '@0xsequence/connect'
function App() {
const projectAccessKey = useProjectAccessKey()
return (
<div>
{projectAccessKey && (
<p>Project access key is configured</p>
)}
</div>
)
}
Return Type
Returns the project access key string, or undefined if not configured.
Notes
The project access key:
- Authenticates your application with the backend services
- Identifies your specific project
- Must be provided during the initial configuration of the connect context
Marketplace Integration Example
const projectAccessKey = useProjectAccessKey()
const marketplaceClient = new MarketplaceIndexer(apiUrl, projectAccessKey)