Delegations Api
API class for Delegations functionality.
This class handles all delegation-related API calls including approving delegations, revoking delegations, querying delegation status, and transferring tokens using delegated authority.
Unlike Blockaid (where the full request is the POST payload), delegation endpoints use path parameters (chain, token) in the URL and only a subset of fields in the POST body.
Parameters
The base URL of the API server.
The API key used for authentication.
An instance of PortalRequests to handle HTTP requests.
Functions
Approves a delegation for a specified token on a given chain.
Retrieves the delegation status for a specified token and delegate address.
Revokes a delegation for a specified token on a given chain.
Transfers tokens from one address to another using delegated authority.