Convex

Convex

FieldValue
NamedescribeAccount
TitleDescribe Account
DescriptionGet account info: balance, sequence number, defined symbols with metadata.
Input Schema
{
  "type": "object",
  "required": ["address"],
  "properties": {
                  "address": {
                               "type": "string",
                               "description": "Address of the account (e.g. '#11')"
                             }
                }
}
Output Schema
{
  "type": "object",
  "properties": {
                  "accountInfo": {
                                   "type": "object",
                                   "description": "General account info including balance and sequence number etc."
                                 },
                  "metadata": {
                                "type": "string",
                                "description": "Map of Symbol -> Symbol metadata (possibly nil) in CVX format, use for identifying callable functions and on-chain data"
                              }
                }
}