This API is in private preview. Target October 2026; timing is subject to change.
Returns the account role and linked address where the role has one.
Available now. This read is served at the interim endpoint today.
POST /{apiKey}/info
| Parameter | Type | Required | Description |
|---|---|---|---|
type | string | Yes | Selects userRole. |
user | string | Yes | Master or sub-account address. |
{
"type": "userRole",
"user": "0x0000000000000000000000000000000000000000"
}| Field | Type | Description |
|---|---|---|
role | user | agent | vault | subAccount | missing | Account classification: missing, user, agent, vault, or subAccount. |
data | object | Role-specific details; present for agent and sub-account roles. |
data.user | string | Principal user address represented by the agent. |
data.master | string | Master address that controls this sub-account. |
{ "role": "user" }