wallet_transactions.json
1 { 2 "$schema": "http://json-schema.org/draft-07/schema#", 3 "title": "Wallet Transactions", 4 "description": "Schema for wallet transaction records", 5 "type": "object", 6 "properties": { 7 "wallet_address": { 8 "type": ["string", "null"], 9 "description": "The address of the wallet" 10 }, 11 "wallet_name": { 12 "type": ["string", "null"], 13 "description": "Name of the wallet (optional)" 14 }, 15 "tags": { 16 "type": ["array", "null"], 17 "items": { "type": "string" }, 18 "description": "Tags associated with the wallet" 19 }, 20 "hash": { 21 "type": ["string", "null"], 22 "description": "Transaction hash" 23 }, 24 "block": { 25 "type": ["integer", "null"], 26 "description": "Block number of the transaction" 27 }, 28 "timestamp": { 29 "type": ["string", "null"], 30 "format": "date-time", 31 "description": "Timestamp of the transaction" 32 }, 33 "from_address": { 34 "type": ["string", "null"], 35 "description": "Sender address" 36 }, 37 "movement": { 38 "type": ["string", "null"], 39 "description": "Movement type or direction" 40 }, 41 "to_address": { 42 "type": ["string", "null"], 43 "description": "Recipient address" 44 }, 45 "amount": { 46 "type": ["string", "null"], 47 "description": "Amount transferred (in base unit)" 48 }, 49 "token_name": { 50 "type": ["string", "null"], 51 "description": "Name of the token" 52 }, 53 "token_symbol": { 54 "type": ["string", "null"], 55 "description": "Token symbol" 56 }, 57 "token_decimal": { 58 "type": ["integer", "null"], 59 "description": "Token decimals" 60 }, 61 "chain_id": { 62 "type": ["integer", "null"], 63 "description": "Chain identifier" 64 }, 65 "gas_price": { 66 "type": ["string", "null"], 67 "description": "Gas price used" 68 }, 69 "gas_used": { 70 "type": ["string", "null"], 71 "description": "Gas used by transaction" 72 }, 73 "gas_decimals": { 74 "type": ["integer", "null"], 75 "description": "Decimals for gas" 76 }, 77 "method_id": { 78 "type": ["string", "null"], 79 "description": "Method identifier" 80 }, 81 "method_call": { 82 "type": ["string", "null"], 83 "description": "Decoded method call" 84 }, 85 "method_name": { 86 "type": ["string", "null"], 87 "description": "Human-friendly method name" 88 }, 89 "is_error": { 90 "type": ["boolean", "null"], 91 "description": "If the transaction is faulty or not" 92 } 93 } 94 }