EVM Accounts

Get EIP-7702 delegation operation by ID

Changed on

Returns the EIP-7702 delegation operation. Use the delegationOperationId returned by the Create EIP-7702 delegation endpoint to poll for operation completion.

get/v2/evm/eip7702/delegation-operations/{delegationOperationId}

Request

  • Base URL
    https://api.cdp.coinbase.com/platform
  • Auth
    HTTP bearer

Path parameters

delegationOperationId, string uuid required

The unique identifier for the delegation operation.

Response

Delegation operation retrieved successfully.

EvmEip7702DelegationOperation required

The status of an EIP-7702 delegation operation.

delegationOperationId, string uuid required

The unique identifier for the delegation operation.

status, 'UNSPECIFIED' | 'PENDING' | 'SUBMITTED' | 'COMPLETED' | 'FAILED' required

The current status of the delegation operation. UNSPECIFIED means the status has not been set. PENDING means the operation has been created but not yet submitted. SUBMITTED means the operation has been submitted to the network. COMPLETED means the operation has completed successfully. FAILED means the operation has failed.

transactionHash, string

The hash of the delegation transaction, if available. Present once the transaction has been submitted to the network.

network, 'base-sepolia' | 'base' | 'arbitrum' | 'optimism' | 'polygon' | 'ethereum' | 'ethereum-sepolia' required

The network for the EIP-7702 delegation.

delegateAddress, string

The address the account has delegated to, if any. Only present when the account has an active delegation.

Example response

{
  "delegationOperationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "status": "COMPLETED",
  "transactionHash": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
  "network": "base",
  "delegateAddress": "0x7702cb554e6bFb442cb743A7dF23154544a7176C"
}

Changes

    • warning

      added the new policy_not_applicable enum value to the errorType response property for the response status

    • warning

      added the new policy_not_applicable enum value to the errorType response property for the response status

    • warning

      added the new policy_not_applicable enum value to the errorType response property for the response status

    2 more changes in this revision