DelegationController Actions
2 actions registered.
| Name | Deprecated |
|---|---|
getState | |
signDelegation |
DelegationController:getState
Package: @metamask/delegation-controller
Handler signature:
() => DelegationControllerState
DelegationController:signDelegation
Package: @metamask/delegation-controller
Signs a delegation.
Parameters:
| Name | Description |
|---|---|
params | The parameters for signing the delegation. |
params.delegation | The delegation to sign. |
params.chainId | The chainId of the chain to sign the delegation for. |
Returns: The signature of the delegation.
Handler signature:
(params: {
delegation: UnsignedDelegation;
chainId: Hex;
}) => Promise<string>