action chaingateway_get_block { label: "getBlock" description: "Returns information of an ethereum block with or without transactions" provider: chaingateway method: POST path: "/getBlock" encoding: json input: { type: "object" properties: { Authorization: { type: "string" } block: { type: "string" } } required: ["Authorization", "block"] additionalProperties: false } output: { type: "object" required: ["block_number", "difficulty", "gas_limit", "gas_used", "hash", "miner", "ok", "parent_hash", "size_in_bytes", "time_stamp", "transactions_count"] properties: { block_number: { type: "string" } difficulty: { type: "string" } gas_limit: { type: "string" } gas_used: { type: "string" } hash: { type: "string" } miner: { type: "string" } ok: { type: "boolean" } parent_hash: { type: "string" } size_in_bytes: { type: "string" } time_stamp: { type: "string" } transactions_count: { type: "string" } } } }