{"openapi":"3.1.0","info":{"title":"Corn API","version":"1.0.0","description":"Live Corn on-chain data via Blockscout. Corn (Maizenet) is a Bitcoin-backed Ethereum L2; gas and balances are in BTCN. Network stats, gas prices, latest blocks, a block by height or hash, address detail with BTCN balance, a transaction by hash, ERC-20 token metadata and a universal search across addresses, tokens, blocks and transactions. Real data, no key.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/corn-api","description":"oanor gateway"}],"tags":[{"name":"Network"},{"name":"Blocks"},{"name":"Accounts"},{"name":"Transactions"},{"name":"Tokens"},{"name":"Search"},{"name":"Meta"}],"components":{"securitySchemes":{"oanorKey":{"type":"apiKey","in":"header","name":"x-oanor-key","description":"Get your key at https://www.oanor.com/developer/keys"}}},"security":[{"oanorKey":[]}],"paths":{"/v1/gas":{"get":{"operationId":"get_v1_gas","tags":["Network"],"summary":"Current gas prices","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"fast":1.01,"slow":1.01,"unit":"gwei","average":1.01,"gas_used_today":"342812454"},"meta":{"timestamp":"2026-06-08T09:51:21.275Z","request_id":"7054e559-cf83-45dc-a1c4-04f92e3ea88a"},"status":"ok","message":"Gas retrieved successfully","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/stats":{"get":{"operationId":"get_v1_stats","tags":["Network"],"summary":"Network statistics","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"gas_prices":{"fast":1.01,"slow":1.01,"average":1.01},"total_blocks":1635159,"gas_used_today":"342812454","market_cap_usd":0,"total_addresses":"19526","total_transactions":"3927134","transactions_today":"7607","network_utilization_percent":9.0378478034836e-9},"meta":{"timestamp":"2026-06-08T09:51:21.584Z","request_id":"97e6c374-a9e9-42a6-b6e8-5bc79cb47f37"},"status":"ok","message":"Stats retrieved successfully","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/block":{"get":{"operationId":"get_v1_block","tags":["Blocks"],"summary":"A block by height or hash","description":"","parameters":[{"name":"height","in":"query","required":false,"description":"Block height","schema":{"type":"string"},"example":"1634112"},{"name":"hash","in":"query","required":false,"description":"Block hash","schema":{"type":"string"}}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"block":{"hash":"0x14163f2cda88467e16d530ba389b6a205b8edab80e8d3909d203a9b87b0cbf94","size":1871,"miner":"0xA4b000000000000000000073657175656e636572","height":1634112,"gas_used":119089,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T02:06:55.000000Z","burnt_fees":"59544500000","difficulty":"1","base_fee_per_gas":"500000"}},"meta":{"timestamp":"2026-06-08T09:51:21.877Z","request_id":"92e4da59-23e6-4fd4-bc16-3db7345d0d3b"},"status":"ok","message":"Block retrieved successfully","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/blocks":{"get":{"operationId":"get_v1_blocks","tags":["Blocks"],"summary":"Latest blocks","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"count":50,"blocks":[{"hash":"0x57a70b27dea9840c4f421136feaba4f1b6c7544ae3e7e7ae496843d8dad42283","size":1934,"miner":"0xA4b000000000000000000073657175656e636572","height":1635194,"gas_used":116304,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:50:51.000000Z","burnt_fees":"58152000000","difficulty":"1","base_fee_per_gas":"500000"},{"hash":"0x89f7198eef671f94de77ef42ef473f3327772299784ed1dc29bed1aafd66da03","size":1871,"miner":"0xA4b000000000000000000073657175656e636572","height":1635193,"gas_used":119065,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:50:18.000000Z","burnt_fees":"59532500000","difficulty":"1","base_fee_per_gas":"500000"},{"hash":"0x22139c8cf617cc11bb6291878571832b30de725018a50c4b6c005f1f5fb3770e","size":1934,"miner":"0xA4b000000000000000000073657175656e636572","height":1635192,"gas_used":116280,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:50:18.000000Z","burnt_fees":"58140000000","difficulty":"1","base_fee_per_gas":"500000"},{"hash":"0x67bb68dc836dec978bb083e72574622c64a748e286ecf4c04d7b17094c598aaf","size":1871,"miner":"0xA4b000000000000000000073657175656e636572","height":1635191,"gas_used":119101,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:49:18.000000Z","burnt_fees":"59550500000","difficulty":"1","base_fee_per_gas":"500000"},{"hash":"0x46dda4c70f8b464f7c5ed906ba77da988f4feb6ca8dbfc736de619abe706952c","size":1998,"miner":"0xA4b000000000000000000073657175656e636572","height":1635190,"gas_used":125708,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:48:46.000000Z","burnt_fees":"62854000000","difficulty":"1","base_fee_per_gas":"500000"},{"hash":"0x0ba5627e65ce7ea27e4a740d9804f334364835bc1afcbd9a16df5b8477762bd4","size":1403,"miner":"0xA4b000000000000000000073657175656e636572","height":1635189,"gas_used":65623,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:48:37.000000Z","burnt_fees":"32811500000","difficulty":"1","base_fee_per_gas":"500000"},{"hash":"0xa4d2fa2019b5eaa72a3b1bc3974fdb2049a878c95c26174b6b786c82ec8c778d","size":1999,"miner":"0xA4b000000000000000000073657175656e636572","height":1635188,"gas_used":136281,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:48:18.000000Z","burnt_fees":"68140500000","difficulty":"1","base_fee_per_gas":"500000"},{"hash":"0x406dba0652aa39a27839e296343f38b393acdd1ade3fb4a20d9d8473403fbc44","size":1934,"miner":"0xA4b000000000000000000073657175656e636572","height":1635187,"gas_used":116304,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:48:08.000000Z","burnt_fees":"58152000000","difficulty":"1","base_fee_per_gas":"500000"},{"hash":"0xf914d0efe8c0d264140a38a9b7c8e691d05a4ee9128f5c65bc197b2ffe2e477c","size":1934,"miner":"0xA4b000000000000000000073657175656e636572","height":1635186,"gas_used":116388,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:47:21.000000Z","burnt_fees":"58194000000","difficulty":"1","base_fee_per_gas":"500000"},{"hash":"0xeded8bf6e9d3034410714d21f92c13892986b678c9ae860ebae73b0de401dd31","size":1935,"miner":"0xA4b000000000000000000073657175656e636572","height":1635185,"gas_used":127589,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:47:18.000000Z","burnt_fees":"63794500000","difficulty":"1","base_fee_per_gas":"500000"},{"hash":"0xa32b184f7a3aca2036ac0f9df42afe4c9e5c04b5ca2619040e4e2d340366c9e0","size":1005,"miner":"0xA4b000000000000000000073657175656e636572","height":1635184,"gas_used":37953,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:46:57.000000Z","burnt_fees":"18976500000","difficulty":"1","base_fee_per_gas":"500000"},{"hash":"0x35a58420e14cdbda344c98413bb305b95243aa659ef839a8769eae45abb66e34","size":1312,"miner":"0xA4b000000000000000000073657175656e636572","height":1635183,"gas_used":75870,"tx_count":3,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:46:57.000000Z","burnt_fees":"37935000000","difficulty":"1","base_fee_per_gas":"500000"},{"hash":"0xf6e10b56c0e90003bcb610615c2f96335850880439fec1213dee2a0709762e37","size":1924,"miner":"0xA4b000000000000000000073657175656e636572","height":1635182,"gas_used":151920,"tx_count":5,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:46:57.000000Z","burnt_fees":"75960000000","difficulty":"1","base_fee_per_gas":"500000"},{"hash":"0x44001293e12e6a4dafe86ef47e09de6a1ae1dbb3bf412284472b5ed216f8840e","size":1005,"miner":"0xA4b000000000000000000073657175656e636572","height":1635181,"gas_used":37977,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:46:57.000000Z","burnt_fees":"18988500000","difficulty":"1","base_fee_per_gas":"500000"},{"hash":"0x8a9a6517f5b40bd9ab20a63cbfc111fd31f78c4d6183aded6a9e93174d5110b0","size":1005,"miner":"0xA4b000000000000000000073657175656e636572","height":1635180,"gas_used":37989,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:46:56.000000Z","burnt_fees":"18994500000","difficulty":"1","base_fee_per_gas":"500000"},{"hash":"0xf031f34200221b058842e1ec4c67bbdcf873b28940103c85d47cc4567575718a","size":1871,"miner":"0xA4b000000000000000000073657175656e636572","height":1635179,"gas_used":119077,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:46:18.000000Z","burnt_fees":"59538500000","difficulty":"1","base_fee_per_gas":"500000"},{"hash":"0xf9f9330ac7cdb8f34d53b7d416f7c37c7d818401306b571397c845323a2955a6","size":1934,"miner":"0xA4b000000000000000000073657175656e636572","height":1635178,"gas_used":116328,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:46:13.000000Z","burnt_fees":"58164000000","difficulty":"1","base_fee_per_gas":"500000"},{"hash":"0x01226f6cd12306554e6ee84eb5161afb85998ca8ad0b8097649390a066ddf944","size":1871,"miner":"0xA4b000000000000000000073657175656e636572","height":1635177,"gas_used":119065,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:45:18.000000Z","burnt_fees":"59532500000","difficulty":"1","base_fee_per_gas":"500000"},{"hash":"0xe25a93656651e359900c645667ba67a367f59d0136937d0923ead5b83c607685","size":1871,"miner":"0xA4b000000000000000000073657175656e636572","height":1635176,"gas_used":119065,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:44:43.000000Z","burnt_fees":"59532500000","difficulty":"1","base_fee_per_gas":"500000"},{"hash":"0xe30784ff77f34c97e8f0a77f0af2cc9a3e1d99a317314ef21c93df031a63733e","size":1999,"miner":"0xA4b000000000000000000073657175656e636572","height":1635175,"gas_used":136269,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:43:18.000000Z","burnt_fees":"68134500000","difficulty":"1","base_fee_per_gas":"500000"},{"hash":"0x174fada4f8f11cca8e7df37ccdfc09908f21b3acd59cf5453d2371bafefd3c1b","size":1871,"miner":"0xA4b000000000000000000073657175656e636572","height":1635174,"gas_used":119113,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:42:43.000000Z","burnt_fees":"59556500000","difficulty":"1","base_fee_per_gas":"500000"},{"hash":"0xe94cbf09cb471dc47613fd157f871629941ad607b55a418f08c2fa607b2e074b","size":1934,"miner":"0xA4b000000000000000000073657175656e636572","height":1635173,"gas_used":116340,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:42:38.000000Z","burnt_fees":"58170000000","difficulty":"1","base_fee_per_gas":"500000"},{"hash":"0xa0d47e37939e968f37a12251aee4731700cc02f155970ef5b21139abd4eddf79","size":1934,"miner":"0xA4b000000000000000000073657175656e636572","height":1635172,"gas_used":116376,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:42:04.000000Z","burnt_fees":"58188000000","difficulty":"1","base_fee_per_gas":"500000"},{"hash":"0x33adead8493a4367968ca3beb8adb5afec5ddb0d5ec187d8209099c9246741c9","size":1005,"miner":"0xA4b000000000000000000073657175656e636572","height":1635171,"gas_used":37989,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:42:02.000000Z","burnt_fees":"18994500000","difficulty":"1","base_fee_per_gas":"500000"},{"hash":"0x2b05fba67c2a6277c6c7f040ee02a025c02944c8ce5f7268e7dd20f3b7860fea","size":1312,"miner":"0xA4b000000000000000000073657175656e636572","height":1635170,"gas_used":75954,"tx_count":3,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:42:02.000000Z","burnt_fees":"37977000000","difficulty":"1","base_fee_per_gas":"500000"},{"hash":"0xf18c1613df51bbd0c3f67241d2b6ff092e89aa75d6f3c9d763eee766ac88e15d","size":1312,"miner":"0xA4b000000000000000000073657175656e636572","height":1635169,"gas_used":75942,"tx_count":3,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:42:01.000000Z","burnt_fees":"37971000000","difficulty":"1","base_fee_per_gas":"500000"},{"hash":"0xb299bf39b59299921e6be629a2d3748591ce9284a67942d6a19e2c660737a281","size":1924,"miner":"0xA4b000000000000000000073657175656e636572","height":1635168,"gas_used":151860,"tx_count":5,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:42:01.000000Z","burnt_fees":"75930000000","difficulty":"1","base_fee_per_gas":"500000"},{"hash":"0x3d5400ec2a12c2c01a10517e3883ad71128d503ecc480cbc66274d68b765aea3","size":1004,"miner":"0xA4b000000000000000000073657175656e636572","height":1635167,"gas_used":43104,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:42:01.000000Z","burnt_fees":"21552000000","difficulty":"1","base_fee_per_gas":"500000"},{"hash":"0x5d395ef2cb254fa91116f96fc4e2e429e00686f9c38096e24006fe497e8ac1da","size":1004,"miner":"0xA4b000000000000000000073657175656e636572","height":1635166,"gas_used":37977,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:42:01.000000Z","burnt_fees":"18988500000","difficulty":"1","base_fee_per_gas":"500000"},{"hash":"0xa5b178c190fb1386f42edb898f2e90619dc549181290ca7ec2d30e28186531eb","size":1403,"miner":"0xA4b000000000000000000073657175656e636572","height":1635165,"gas_used":65865,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:41:24.000000Z","burnt_fees":"32932500000","difficulty":"1","base_fee_per_gas":"500000"},{"hash":"0xff631ec10fae29609e4802da756621cc5a8677bddf86e81fb9c795fb73ffbea1","size":1871,"miner":"0xA4b000000000000000000073657175656e636572","height":1635164,"gas_used":119089,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:41:18.000000Z","burnt_fees":"59544500000","difficulty":"1","base_fee_per_gas":"500000"},{"hash":"0xf8bc4a8713db9a11206fd132571ef6fe1f285530cec6e9bf2566b036944b7277","size":1999,"miner":"0xA4b000000000000000000073657175656e636572","height":1635163,"gas_used":136425,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:40:43.000000Z","burnt_fees":"68212500000","difficulty":"1","base_fee_per_gas":"500000"},{"hash":"0x40b2267dd725af8f8ba555d66a43bb73f58a67a0da5be82e9ceb7b0b01f5be4b","size":1934,"miner":"0xA4b000000000000000000073657175656e636572","height":1635162,"gas_used":116328,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:40:07.000000Z","burnt_fees":"58164000000","difficulty":"1","base_fee_per_gas":"500000"},{"hash":"0xda73b0f0751e1f712a3677af1e5020c40d3fea58f04b66a63f57da187ffb7523","size":1935,"miner":"0xA4b000000000000000000073657175656e636572","height":1635161,"gas_used":127685,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:39:18.000000Z","burnt_fees":"63842500000","difficulty":"1","base_fee_per_gas":"500000"},{"hash":"0x3f973ea6522dc01197943f98669fd0b65871d6e3bfcda24fc22955a52032e36e","size":1934,"miner":"0xA4b000000000000000000073657175656e636572","height":1635160,"gas_used":116364,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:39:13.000000Z","burnt_fees":"58182000000","difficulty":"1","base_fee_per_gas":"500000"},{"hash":"0x62b34ab68bf3c7dad05bb92ca7b97097ecfd237d4e45fa4c6e7d6c4b48d83283","size":1999,"miner":"0xA4b000000000000000000073657175656e636572","height":1635159,"gas_used":136329,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:39:08.000000Z","burnt_fees":"68164500000","difficulty":"1","base_fee_per_gas":"500000"},{"hash":"0x2c8c053b4bfff2e77954ec95ac7d0f111cb4311a519a1192cc2723360befbe0c","size":1934,"miner":"0xA4b000000000000000000073657175656e636572","height":1635158,"gas_used":116268,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:37:21.000000Z","burnt_fees":"58134000000","difficulty":"1","base_fee_per_gas":"500000"},{"hash":"0xb8d5e4cc1e0ce6e4656d4199569fdf99a6d0274f519438eddcad1b83ddd0ac42","size":1005,"miner":"0xA4b000000000000000000073657175656e636572","height":1635157,"gas_used":37977,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:37:06.000000Z","burnt_fees":"18988500000","difficulty":"1","base_fee_per_gas":"500000"},{"hash":"0xc47f53d04222a50c40f373d3ad6a2167025e1e6ddf28fb30b86f120bbb3364cc","size":1005,"miner":"0xA4b000000000000000000073657175656e636572","height":1635156,"gas_used":37989,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:37:06.000000Z","burnt_fees":"18994500000","difficulty":"1","base_fee_per_gas":"500000"},{"hash":"0x7cd17d80cdad55fd664e62e7acb4646a5af79be0d5adaea789e6d2405d788be9","size":1005,"miner":"0xA4b000000000000000000073657175656e636572","height":1635155,"gas_used":37977,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:37:06.000000Z","burnt_fees":"18988500000","difficulty":"1","base_fee_per_gas":"500000"},{"hash":"0xe1191f6041f52a48cf34707b9cb2572dc1f6c909b8be7823ecb3385b04788234","size":2536,"miner":"0xA4b000000000000000000073657175656e636572","height":1635154,"gas_used":227778,"tx_count":7,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:37:06.000000Z","burnt_fees":"113889000000","difficulty":"1","base_fee_per_gas":"500000"},{"hash":"0xc089d9e7b731aabdf0ab37ee510aa9989ed0f43334beb5f23a8666044ca46fa0","size":1005,"miner":"0xA4b000000000000000000073657175656e636572","height":1635153,"gas_used":37989,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:37:05.000000Z","burnt_fees":"18994500000","difficulty":"1","base_fee_per_gas":"500000"},{"hash":"0xfbc1f3a0d4c936d58f16de2f0d3d20bd287bb251daba56649e0b037b767e6e0a","size":1005,"miner":"0xA4b000000000000000000073657175656e636572","height":1635152,"gas_used":43116,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:37:05.000000Z","burnt_fees":"21558000000","difficulty":"1","base_fee_per_gas":"500000"},{"hash":"0x7e188e0a8af55a9500975012d3b1c1cd7ce896ca5fceab37288db51dcb7d30a6","size":2063,"miner":"0xA4b000000000000000000073657175656e636572","height":1635151,"gas_used":144937,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:36:43.000000Z","burnt_fees":"72468500000","difficulty":"1","base_fee_per_gas":"500000"},{"hash":"0x5a2826b22b5e4482fef686c4b911308e7574bd5528b6e5d4470da7bc87cf90a1","size":2126,"miner":"0xA4b000000000000000000073657175656e636572","height":1635150,"gas_used":144515,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:35:56.000000Z","burnt_fees":"72257500000","difficulty":"1","base_fee_per_gas":"500000"},{"hash":"0x8a037667044dc43db96e6250f7e4ab13ba9a6658d54328220240d9cacdd007d3","size":1999,"miner":"0xA4b000000000000000000073657175656e636572","height":1635149,"gas_used":136305,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:35:18.000000Z","burnt_fees":"68152500000","difficulty":"1","base_fee_per_gas":"500000"},{"hash":"0xd9eca7ac73a572718ebdce02611ae3c9973abd7bf3b8db3fb9d31e513a014237","size":1401,"miner":"0xA4b000000000000000000073657175656e636572","height":1635148,"gas_used":65495,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:34:46.000000Z","burnt_fees":"32747500000","difficulty":"1","base_fee_per_gas":"500000"},{"hash":"0xd609bc9921aa9e499dcd057f9db3d256cf98e8e0f42174970dfc8e5be6f76893","size":1871,"miner":"0xA4b000000000000000000073657175656e636572","height":1635147,"gas_used":119125,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:34:18.000000Z","burnt_fees":"59562500000","difficulty":"1","base_fee_per_gas":"500000"},{"hash":"0x884f614da2fa66ec820b878be02f7d5f91be82f4da76a805218f347f87f91962","size":1871,"miner":"0xA4b000000000000000000073657175656e636572","height":1635146,"gas_used":119113,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:33:18.000000Z","burnt_fees":"59556500000","difficulty":"1","base_fee_per_gas":"500000"},{"hash":"0x77a1d109542abb8ff7ce36646685afc125da4997c87883a117543d6252792a71","size":1934,"miner":"0xA4b000000000000000000073657175656e636572","height":1635145,"gas_used":116376,"tx_count":2,"gas_limit":1125899906842624,"timestamp":"2026-06-08T09:32:25.000000Z","burnt_fees":"58188000000","difficulty":"1","base_fee_per_gas":"500000"}]},"meta":{"timestamp":"2026-06-08T09:51:22.466Z","request_id":"fbf353cb-a1c9-4b8f-9edd-afda0ca72a9f"},"status":"ok","message":"Blocks retrieved successfully","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/address":{"get":{"operationId":"get_v1_address","tags":["Accounts"],"summary":"Address detail with BTCN balance","description":"","parameters":[{"name":"address","in":"query","required":true,"description":"Address hash","schema":{"type":"string"},"example":"0xDF0B24095e15044538866576754F3C964e902Ee6"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"address":{"hash":"0xDF0B24095e15044538866576754F3C964e902Ee6","name":"FiatTokenProxy","token":{"name":"Bridged USDC (Corn)","type":"ERC-20","symbol":"USDC.e"},"creator":"0xa83c39D47fc482d6E792e9fb2156d0b4E790d1F5","balance_wei":"0","is_contract":true,"is_verified":true,"balance_btcn":0}},"meta":{"timestamp":"2026-06-08T09:51:22.866Z","request_id":"207076fe-ff74-4110-a594-871913ea5852"},"status":"ok","message":"Address retrieved successfully","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/transaction":{"get":{"operationId":"get_v1_transaction","tags":["Transactions"],"summary":"A transaction by hash","description":"","parameters":[{"name":"hash","in":"query","required":true,"description":"Transaction hash","schema":{"type":"string"},"example":"0x5476f51f921c85f441a4be7611d493154773058c9273670129e093ecf17d0249"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"transaction":{"to":"0x00000000000000000000000000000000000A4B05","from":"0x00000000000000000000000000000000000A4B05","hash":"0x5476f51f921c85f441a4be7611d493154773058c9273670129e093ecf17d0249","type":106,"block":1634112,"nonce":0,"method":"startBlock","status":"ok","fee_wei":"0","fee_btcn":0,"gas_used":0,"gas_price":"500000","timestamp":"2026-06-08T02:06:55.000000Z","value_wei":"0","value_btcn":0,"confirmations":1083}},"meta":{"timestamp":"2026-06-08T09:51:23.232Z","request_id":"cb9c9988-8b12-48e3-b8f1-4331b9b7f522"},"status":"ok","message":"Transaction retrieved successfully","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/token":{"get":{"operationId":"get_v1_token","tags":["Tokens"],"summary":"ERC-20 token metadata","description":"","parameters":[{"name":"address","in":"query","required":true,"description":"Token contract address","schema":{"type":"string"},"example":"0xDF0B24095e15044538866576754F3C964e902Ee6"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"token":{"name":"Bridged USDC (Corn)","type":"ERC-20","symbol":"USDC.e","decimals":6,"total_supply":"21256395828"}},"meta":{"timestamp":"2026-06-08T09:51:23.537Z","request_id":"95a2ebb3-8867-47a5-9f77-85b64f48fbee"},"status":"ok","message":"Token retrieved successfully","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/search":{"get":{"operationId":"get_v1_search","tags":["Search"],"summary":"Universal on-chain search","description":"","parameters":[{"name":"q","in":"query","required":true,"description":"Address, token, block or tx","schema":{"type":"string"},"example":"USD"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"count":31,"query":"USD","results":[{"name":"Bridged USDC (Corn)","type":"token","symbol":"USDC.e","address":"0xDF0B24095e15044538866576754F3C964e902Ee6"},{"name":"USD₮0","type":"token","symbol":"USD₮0","address":"0xB8CE59FC3717ada4C02eaDF9682A9e934F625ebb"},{"name":"Avalon Avalon USDC","type":"token","symbol":"aCornUSDC","address":"0x7Db9a5458432e810A2787B15f712Da1eCC3afe41"},{"name":"USDa","type":"token","symbol":"USDa","address":"0xff12470a969Dd362EB6595FFB44C82c959Fe9ACc"},{"name":"Avalon Avalon Variable Debt USDC","type":"token","symbol":"variableDebtCornUSDC","address":"0x052eF2323d022a2401dAEf88b68e563EfE8FE1fa"},{"name":"Smokehouse USDT0","type":"token","symbol":"bbqUSDT0","address":"0x9b2fa89E23Ae84f7895A58f8ec7Cb0b267ED8a21"},{"name":"USDC/wBTCN","type":"token","symbol":"USDCwBTCN","address":"0xf024586aACaF91FC4f77468FA758dF280B2C9cd4"},{"name":"ZeroLend USDC","type":"token","symbol":"z0USDC","address":"0x30C05eC3045Ab1A31979B97ee81BC2D9Da0E1444"},{"name":"Avalon Avalon USDA","type":"token","symbol":"aCornUSDA","address":"0x6d5eD8185986bACAc3e01963d7D546Da3A2d9E59"},{"name":"Avalon Avalon USDCE","type":"token","symbol":"aCornUSDCE","address":"0x8F4118c4a978c7a2434F5Fd79ac5DC1215C11f56"},{"name":"Avalon Avalon Variable Debt USDA","type":"token","symbol":"variableDebtCornUSDA","address":"0xf49E64c72421cf712AFc982DB2329f9EfaADB818"},{"name":"USDa saving token","type":"token","symbol":"sUSDa","address":"0x2840F9d9f96321435Ab0f977E7FDBf32EA8b304f"},{"name":"ZeroLend Variable Debt USDC","type":"token","symbol":"variableDebtz0USDC","address":"0x0c0930e5826D083DFb63669dA6FDB7dB86989639"},{"name":"Avalon Avalon USDC","type":"token","symbol":"aCornUSDC","address":"0x80d515B3c537896A8e2f5800bc9E55Ff8cc4A377"},{"name":"Avalon Avalon Variable Debt USDCE","type":"token","symbol":"variableDebtCornUSDCE","address":"0xF93F89bfFDf9B65a382A75fD88d943c3EBC2BE29"},{"name":"Curve.Fi USD Stablecoin","type":"token","symbol":"crvUSD","address":"0xEAEdD2B1b3F0fEC6388A4d6b2fE500B59Fd9f755"},{"name":"USDC/wBTCN","type":"token","symbol":"USDCwBTCN","address":"0x90B35678535237Ec6834d7928576bafd809b7E6E"},{"name":"Avalon Avalon Variable Debt USDC","type":"token","symbol":"variableDebtCornUSDC","address":"0x7869e9e1600Bd7f14C32d920573906A6DAaF625C"},{"name":"Concrete USD₮0 MultiSig Strategy","type":"token","symbol":"ctMSUSD₮0","address":"0x56048a2AEa151e6B72f8d8e9bEeaB34649f7438e"},{"name":"Curve.fi USDCwBTCN Gauge Deposit","type":"token","symbol":"USDCwBTCN-gauge","address":"0x56a0019EAe0fB988173B47bA09C42c5C060CB392"},{"name":"Chronicle_BTCN_USD_1","type":"contract","address":"0xa3105DeE5ec73A7003482b1a8968DC88666F3589"},{"name":"Chronicle_BTC_USD_1","type":"contract","address":"0x152598809FB59db55cA76f89a192Fb23555531D8"},{"name":"Chronicle_ETH_USD_1","type":"contract","address":"0x3d97ad50ce86a1Fc3425B46ac799074b0Fa35570"},{"name":"Chronicle_SUSDA_USD_1","type":"contract","address":"0xA18297Eb53a5D90990e4514cA6244E7F25405674"},{"name":"Chronicle_USDA_USD_1","type":"contract","address":"0x8f01f70bE5DeEA5D4273D9a299A1A609BF1649c0"}]},"meta":{"timestamp":"2026-06-08T09:51:23.823Z","request_id":"dbfe2a97-872c-45be-a0d3-b4b29a9fa386"},"status":"ok","message":"Search results retrieved successfully","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/meta":{"get":{"operationId":"get_v1_meta","tags":["Meta"],"summary":"Service metadata","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"service":"corn-api","endpoints":{"GET /v1/gas":"Gas oracle (slow/average/fast in gwei).","GET /v1/meta":"This document.","GET /v1/block":"Block detail by height= or hash=.","GET /v1/stats":"Network stats (blocks, txns, coin price, market cap, gas).","GET /v1/token":"ERC-20 token detail by contract (address=).","GET /v1/blocks":"The most recent blocks.","GET /v1/search":"Search addresses, tokens, blocks & txns (q=).","GET /v1/address":"Address balance, ENS & contract info (address=).","GET /v1/transaction":"Transaction detail (hash=)."},"description":"Live Corn on-chain data via Blockscout: network stats, a gas oracle (gwei), recent blocks and block detail, address balances with ENS, transaction detail, ERC-20 token detail and a universal search across addresses, tokens, blocks and transactions. Corn (Maizenet) is a Bitcoin-backed Ethereum L2; gas and balances are in BTCN. Real on-chain data, no key."},"meta":{"timestamp":"2026-06-08T09:51:23.939Z","request_id":"d728d19a-9185-4046-8e5b-223e1f93ded1"},"status":"ok","message":"Meta","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}}},"x-oanor-pricing":[{"slug":"free","name":"Free","price_cents_month":0,"monthly_call_quota":1650,"rps_limit":1,"hard_limit":true},{"slug":"basic","name":"Basic","price_cents_month":1050,"monthly_call_quota":79000,"rps_limit":10,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":3350,"monthly_call_quota":505000,"rps_limit":20,"hard_limit":true},{"slug":"mega","name":"Mega","price_cents_month":10800,"monthly_call_quota":2550000,"rps_limit":50,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/corn-api"}