testnet
GitHub

agent.balance

balance(agentId) → Balance

Retrieve the current OKRW balance of the specified agent's AA wallet.

Parameters

Name Type Required Description
agentId string The UUID of the agent.

Returns

Type: object

An object containing the balance in wei.

Examples

Get Balance

{
  "agentId": "123e4567-e89b-12d3-a456-426614174000"
}
ESC
Type to search