addedInput schema / properties / token_contracts
Added value: +{
+ "description": "Optional caller-selected ERC-20 contracts whose balanceOf, decimals, and symbol methods are read at the same resolved block",
+ "items": {
+ "type": "string"
+ },
+ "maxItems": 4,
+ "title": "Token Contracts",
+ "type": "array"
+}
addedOutput schema / properties / data / properties / tokens
Added value: +{
+ "description": "Balances for only the caller-selected token contracts; this is not a discovered or complete portfolio.",
+ "items": {
+ "properties": {
+ "balanceAtomic": {
+ "pattern": "^[0-9]+$",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "balanceFormatted": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "contract": {
+ "pattern": "^0x[0-9a-fA-F]{40}$",
+ "type": "string"
+ },
+ "decimals": {
+ "maximum": 255,
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "standard": {
+ "const": "ERC-20",
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "ok",
+ "unavailable"
+ ],
+ "type": "string"
+ },
+ "symbol": {
+ "maxLength": 64,
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "warnings": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "contract",
+ "standard",
+ "status",
+ "symbol",
+ "decimals",
+ "balanceAtomic",
+ "balanceFormatted",
+ "warnings"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "type": "array"
+}