Delegation API reference
The following API methods are related to creating and managing delegations.
createCaveatBuilder
Builds an array of caveats.
Parameters
Name | Type | Required | Description |
---|---|---|---|
environment | DeleGatorEnvironment | Yes | Environment to resolve the smart contracts for the current chain. |
config | CaveatBuilderConfig | No | Configuration for CaveatBuilder . |