Skip to main content
GET
/
delegation
/
status
cURL
curl --request GET \
  --url https://api.otim.com/delegation/status \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "address": "0xa0Ee7A142d267C1f36714E4a8F75612F20a79720",
  "chainId": 11155111
}'
{
  "delegationStatus": "Delegated"
}

Authorizations

Authorization
string
header
required

JWT token for API authentication

Body

application/json
address
string<address>
required

Address of the user

Example:

"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720"

chainId
integer
required

Chain ID of the delegation

Example:

11155111

Response

200 - application/json

Delegation status retrieved successfully

delegationStatus
enum<string>
required

Status of the delegation

Available options:
Undelegated,
Pending,
Delegated,
Expired,
Errored
Example:

"Delegated"