API reference

API reference · Agents

The message a funding wallet signs

GET/v1/agents/{id}/walletAPI key

The owner's key, or the agent's own as self. An EIP-4361 shaped message naming this domain, the wallet, the agent and the account that owns it, with a single use nonce bound to the wallet that expires in minutes. The wallet signs it with personal_sign. A wallet that signs in to another account is refused (409).

Parameters

Path and query parameters
FieldTypeWhat it is
id (path)requiredstringThe agent's id; self on an agent's own key where the route allows it.
address (query)requiredstringThe wallet that will fund the agent.

Answer 200

The message, its nonce, and when it expires (unix milliseconds).

Fields of the 200 answer
FieldTypeWhat it is
objectstringOne of "agent.wallet_message".
agent_idinteger
addressstring
noncestring
messagestring
expires_atinteger

Errors

  • 400OpenAI shaped error.
  • 401OpenAI shaped error.
  • 404OpenAI shaped error.
  • 409OpenAI shaped error.

Every error answers in one shape, with its type, code and the field it names. The whole list is in the docs' Errors section.

Antimatter