const crossmintAPI: CrossmintAPI

Crossmint API singleton, used to init the SDK To use the SDK you must call init before any other method

Example

crossmintAPI.init(
 "your-api-key",
 config: \{
   environment: "staging",
   ipfsGateways: ["https://ipfs.io"], // Optional, a list of defualt ones is provided
   ipfsTimeout: 5000, // ms, Optional, default is 10 seconds
   blockchainRpcs: \{...\} // Optional, default rpcs for polygon are provided
 \}
)

## Defined in

[crossmintAPI.ts:124](https://github.com/Crossmint/crossmint-sdk/blob/main/packages/client/verifiable-credentials/src/crossmintAPI.ts#L124)