{"components":{"schemas":{"Address":{"description":"Ethereum Address, 20 byte hex encoded string","example":"address=deadbeef","type":"string"},"Address Created At":{"description":"Address and its creation time (POSIX)","example":{"address":"00000000000000000000000000000000deadbeef","createdAt":1494448021000},"items":[{"$ref":"#/components/schemas/Address"}],"maxItems":1,"minItems":1,"properties":{"at":{"format":"int64","maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"}},"required":["at"],"type":"array"},"AddressStateRef":{"properties":{"address":{"$ref":"#/components/schemas/Address"},"balance":{"type":"string"},"codeHash":{"$ref":"#/components/schemas/Keccak256 hash, 32 byte hex encoded string"},"contractName":{"type":"string"},"contractRoot":{"type":"string"},"kind":{"type":"string"},"latestBlockNum":{"type":"integer"},"nonce":{"type":"integer"}},"required":["kind","address","nonce","balance","contractRoot","latestBlockNum"],"type":"object"},"BasicValue":{"format":"simple SolidVM expression","type":"string"},"Bloc Transaction Data":{"description":"Bloc Transaction Data","example":{"contents":[],"tag":"Call"},"oneOf":[{"properties":{"contents":{"$ref":"#/components/schemas/PostTransaction"},"tag":{"enum":["Send"],"type":"string"}},"required":["tag","contents"],"title":"Send","type":"object"},{"properties":{"contents":{"$ref":"#/components/schemas/UploadContractDetails"},"tag":{"enum":["Upload"],"type":"string"}},"required":["tag","contents"],"title":"Upload","type":"object"},{"properties":{"contents":{"items":{"$ref":"#/components/schemas/Solidity Value"},"type":"array"},"tag":{"enum":["Call"],"type":"string"}},"required":["tag","contents"],"title":"Call","type":"object"}]},"BlocSimulateResult":{"description":"Result of a simulated (dry-run) transaction","properties":{"data":{"$ref":"#/components/schemas/Bloc Transaction Data"},"effect":{"$ref":"#/components/schemas/BlocSimulateResult"},"error":{"type":"string"},"events":{"items":{"$ref":"#/components/schemas/SimulatedEvent"},"type":"array"},"gasUsed":{"type":"integer"},"response":{"$ref":"#/components/schemas/JSON Value"},"status":{"$ref":"#/components/schemas/BlocTransactionStatus"},"trace":{"$ref":"#/components/schemas/JSON Value"}},"required":["status","gasUsed","events"],"type":"object"},"BlocTransactionBodyResult":{"description":"Bloc Transaction body result","example":{"hash":"a1cac15d7e566bfd40a0d4454b5225c6c70892c26b5b82fdae2ff34ec581abd1","raw":null},"properties":{"transactionHash":{"$ref":"#/components/schemas/Keccak256 hash, 32 byte hex encoded string"},"transactionRaw":{"$ref":"#/components/schemas/RawTransaction"}},"required":["transactionHash"],"type":"object"},"BlocTransactionPayload":{"description":"Bloc Transaction Payload","example":{"payload":{"args":{"_x":1},"contract":null,"metadata":null,"src":[["SimpleStorage.sol","contract SimpleStorage { uint x; function SimpleStorage(uint _x) { x = _x; } function set(uint _x) { x = _x; } }"]],"txParams":null},"type":"CONTRACT"},"oneOf":[{"properties":{"contents":{"$ref":"#/components/schemas/TransferPayload"},"tag":{"enum":["BlocTransfer"],"type":"string"}},"required":["tag","contents"],"title":"BlocTransfer","type":"object"},{"properties":{"contents":{"$ref":"#/components/schemas/ContractPayload"},"tag":{"enum":["BlocContract"],"type":"string"}},"required":["tag","contents"],"title":"BlocContract","type":"object"},{"properties":{"contents":{"$ref":"#/components/schemas/FunctionPayload"},"tag":{"enum":["BlocFunction"],"type":"string"}},"required":["tag","contents"],"title":"BlocFunction","type":"object"}]},"BlocTransactionResult":{"description":"Bloc Transaction Result","example":{"data":null,"hash":"41b1a0649752af1b28b3dc29a1556eee781e4a4c3a1f7f53f90fa834de098c4d","status":"Success","txResult":null},"properties":{"transactionData":{"$ref":"#/components/schemas/Bloc Transaction Data"},"transactionHash":{"$ref":"#/components/schemas/Keccak256 hash, 32 byte hex encoded string"},"transactionStatus":{"$ref":"#/components/schemas/BlocTransactionStatus"},"transactionTxResult":{"$ref":"#/components/schemas/TransactionResult"}},"required":["transactionStatus","transactionHash"],"type":"object"},"BlocTransactionStatus":{"description":"Bloc Transaction Status","enum":["Success","Failure","Pending"],"example":"Success","type":"string"},"BlocTransactionUnsignedResult":{"description":"Bloc Transaction unsigned result","example":{"data":null,"hash":"a1cac15d7e566bfd40a0d4454b5225c6c70892c26b5b82fdae2ff34ec581abd1"},"properties":{"transactionUnsignedData":{"$ref":"#/components/schemas/UnsignedRawTransaction"},"transactionUnsignedHash":{"$ref":"#/components/schemas/Keccak256 hash, 32 byte hex encoded string"}},"required":["transactionUnsignedHash"],"type":"object"},"Block":{},"Contract":{"description":"A Solidity contract parsed for SolidVM","example":{"_constants":{},"_constructor":null,"_contractContext":{"annotation":[],"end":{"column":0,"line":0,"name":""},"start":{"column":0,"line":0,"name":""}},"_contractName":"","_contractType":"ContractType","_enums":{},"_errors":{},"_events":{},"_functions":{},"_importedFrom":null,"_modifiers":{},"_parents":[],"_storageDefs":{},"_structs":{},"_userDefined":{},"_usings":[]}},"ContractName":{"description":"The name of the smart contract.","example":"MySmartContract","type":"string"},"ContractPayload":{"description":"Contract Payload","example":{"args":{"_x":1},"contract":null,"metadata":null,"src":[["SimpleStorage.sol","contract SimpleStorage { uint x; function SimpleStorage(uint _x) { x = _x; } function set(uint _x) { x = _x; } }"]],"txParams":null},"properties":{"args":{"additionalProperties":{"$ref":"#/components/schemas/Solidity Argument Value"},"type":"object"},"contract":{"type":"string"},"metadata":{"additionalProperties":{"type":"string"},"type":"object"},"src":{"$ref":"#/components/schemas/SourceMap"},"txParams":{"$ref":"#/components/schemas/Transaction Parameters"}},"required":["src"],"type":"object"},"Enum Value":{"example":"Red","properties":{"enumValue":{"type":"string"}},"required":["enumValue"],"type":"object"},"Event schema":{"description":"Xabi Event","example":{"anonymous":true,"logs":[["_from",{"index":0,"tag":"Address"}],["_to",{"index":1,"tag":"Address"}]]},"properties":{"anonymous":{"type":"boolean"},"logs":{"items":{"items":[{"type":"string"},{"$ref":"#/components/schemas/Solidity type"}],"maxItems":2,"minItems":2,"type":"array"},"type":"array"}},"required":["anonymous","logs"],"type":"object"},"FieldType":{"description":"Represents a Solidity Field Type","example":{"atBytes":32,"tag":"Address"},"properties":{"fieldTypeAtBytes":{"format":"int32","maximum":2147483647,"minimum":-2147483648,"type":"integer"},"fieldTypeType":{"$ref":"#/components/schemas/Solidity type"}},"required":["fieldTypeAtBytes","fieldTypeType"],"type":"object"},"Function Modifier":{"description":"Xabi Function Modifier","example":{"args":{"userAddress":{"bytes":32,"index":0,"signed":false,"tag":"Int"}},"contents":null,"selector":"0adfe412","vals":{"#0":{"bytes":32,"index":0,"signed":false,"tag":"Int"}}},"properties":{"args":{"additionalProperties":{"$ref":"#/components/schemas/Solidity type"},"type":"object"},"contents":{"type":"string"},"selector":{"type":"string"},"vals":{"additionalProperties":{"$ref":"#/components/schemas/Solidity type"},"type":"object"}},"required":["args","selector","vals"],"type":"object"},"Function Name":{"example":"fireMissiles","type":"string"},"Function Type":{"description":"Xabi Function Type","example":{"args":{"userAddress":{"bytes":32,"index":0,"signed":false,"tag":"Int"}},"constant":true,"contents":"return userAddress;","modifiers":null,"payable":false,"stateMutability":"view","vals":{"#0":{"bytes":32,"index":0,"signed":false,"tag":"Int"}},"visibility":null},"properties":{"args":{"additionalProperties":{"$ref":"#/components/schemas/Solidity type"},"type":"object"},"contents":{"type":"string"},"modifiers":{"items":{"type":"string"},"type":"array"},"stateMutability":{"$ref":"#/components/schemas/State Mutability"},"vals":{"additionalProperties":{"$ref":"#/components/schemas/Solidity type"},"type":"object"},"visibility":{"$ref":"#/components/schemas/Visibility of a Function"}},"required":["args","vals"],"type":"object"},"FunctionPayload":{"description":"Function Payload","example":{"args":{"_x":5},"contractAddress":"00000000000000000000000000000000deadbeef","metadata":null,"method":"set","txParams":null},"properties":{"args":{"additionalProperties":{"$ref":"#/components/schemas/Solidity Argument Value"},"type":"object"},"contractAddress":{"$ref":"#/components/schemas/Address"},"metadata":{"additionalProperties":{"type":"string"},"type":"object"},"method":{"type":"string"},"txParams":{"$ref":"#/components/schemas/Transaction Parameters"}},"required":["contractAddress","method","args"],"type":"object"},"Get Contract Response":{"description":"Response to Get Contracts endpoint","example":{"MySampleContract":[{"address":"00000000000000000000000000000000deadbeef","createdAt":1976}]},"properties":{"contracts":{"additionalProperties":{"items":{"$ref":"#/components/schemas/Address Created At"},"type":"array"},"type":"object"}},"required":["contracts"],"type":"object"},"Get Contract States Mapping Response":{"description":"Response to the Get Cotnracts State Mapping route","example":{"willRain":false}},"Get Contracts States":{"example":{"address":"00000000000000000000000000000000deadbeef","contractName":"MySampleContract","count":null,"length":null,"offset":null,"varName":null},"properties":{"address":{"$ref":"#/components/schemas/Address"},"contractName":{"$ref":"#/components/schemas/ContractName"},"count":{"type":"integer"},"length":{"type":"boolean"},"offset":{"type":"integer"},"varName":{"type":"string"}},"required":["contractName","address"],"type":"object"},"GitInfo":{"properties":{"gitInfoBranch":{"type":"string"},"gitInfoCommitCount":{"type":"string"},"gitInfoCommitDate":{"type":"string"},"gitInfoDescribe":{"type":"string"},"gitInfoDirty":{"type":"boolean"},"gitInfoDirtyTracked":{"type":"boolean"},"gitInfoHash":{"type":"string"}},"required":["gitInfoHash","gitInfoBranch","gitInfoCommitCount","gitInfoCommitDate","gitInfoDescribe","gitInfoDirty","gitInfoDirtyTracked"],"type":"object"},"JSON Value":{},"Keccak256 hash, 32 byte hex encoded string":{"description":"Keccak256 hash, 32 byte hex encoded string","example":"4fbe47914a102ae6561597c95ab95819ddfd6b18c7abc3004c099aeaed2234b4","type":"string"},"LogSummary":{"properties":{"lsArgs":{"items":{"type":"string"},"type":"array"},"lsContractAddress":{"$ref":"#/components/schemas/Address"},"lsEventName":{"type":"string"}},"required":["lsContractAddress","lsEventName","lsArgs"],"type":"object"},"MetadataResponse":{"description":"MetadataResponse","example":{"chainId":"0","isSynced":true,"isVaultPasswordSet":true,"networkID":"0","networkName":"helium","urls":{"vault":"http://vault.com"},"validators":["00000000000000000000000000000000deadbeef"]},"items":[{"items":{"$ref":"#/components/schemas/Validator"},"type":"array"},{"additionalProperties":{"type":"string"},"type":"object"}],"maxItems":2,"minItems":2,"properties":{"iD":{"type":"string"},"id":{"type":"string"},"name":{"type":"string"},"synced":{"type":"boolean"},"vaultPasswordSet":{"type":"boolean"}},"required":["synced","vaultPasswordSet","iD","id","name"],"type":"array"},"Post Compile Request":{"example":{"contractName":"MySampleContract","source":"contract MySampleContract { ...} ","vm":"SolidVM"},"properties":{"contractName":{"type":"string"},"source":{"$ref":"#/components/schemas/SourceMap"},"vm":{"type":"string"}},"required":["source"],"type":"object"},"Post Compile Response":{"example":{"codeHash":"2c2831bc66a7b43faba30136666c705d6f47b78b9a25e51f823f142a19853212","contractName":"MySampleContract"},"properties":{"codeHash":{"$ref":"#/components/schemas/Keccak256 hash, 32 byte hex encoded string"},"contractName":{"type":"string"}},"required":["contractName","codeHash"],"type":"object"},"Post Xabi Request":{"example":{"src":"contract x { }"},"properties":{"src":{"type":"string"}},"required":["src"],"type":"object"},"Post Xabi Response":{"example":{"src":{}},"properties":{"src":{"additionalProperties":{"$ref":"#/components/schemas/Xabi schema"},"type":"object"}},"required":["src"],"type":"object"},"PostBlocTransactionRequest":{"description":"Post Bloc Transaction Request","example":{"address":"00000000000000000000000000000000deadbeef","srcs":null,"txParams":{"gasLimit":1000000,"gasPrice":1,"nonce":0},"txs":[{"payload":{"metadata":{"purpose":"groceries"},"toAddress":"0000000000000000000000000000000012345678","txParams":null},"type":"TRANSFER"}]},"properties":{"address":{"$ref":"#/components/schemas/Address"},"srcs":{"additionalProperties":{"$ref":"#/components/schemas/SourceMap"},"type":"object"},"txParams":{"$ref":"#/components/schemas/Transaction Parameters"},"txs":{"items":{"$ref":"#/components/schemas/BlocTransactionPayload"},"type":"array"}},"required":["txs"],"type":"object"},"PostTransaction":{"description":"Post Transaction","example":{"codeOrData":"","from":"111dec89c25cbda1c12d67621ee3c10ddb8196bf","gasLimit":21000,"hash":"4fbe47914a102ae6561597c95ab95819ddfd6b18c7abc3004c099aeaed2234b4","nonce":0,"r":"1","s":"1","to":"00000000000000000000000000000000deadbeef","v":"1c"},"properties":{"codeOrData":{"type":"string"},"from":{"$ref":"#/components/schemas/Address"},"gasLimit":{"exclusiveMinimum":false,"minimum":0,"type":"integer"},"hash":{"$ref":"#/components/schemas/Keccak256 hash, 32 byte hex encoded string"},"nonce":{"exclusiveMinimum":false,"minimum":0,"type":"integer"},"r":{"$ref":"#/components/schemas/hex natural"},"s":{"$ref":"#/components/schemas/hex natural"},"to":{"$ref":"#/components/schemas/Address"},"v":{"$ref":"#/components/schemas/hex word8"}},"required":["hash","gasLimit","codeOrData","from","r","s","v","nonce"],"type":"object"},"RawTransaction":{},"ReceiptListResponse":{"properties":{"rlrBlockHash":{"$ref":"#/components/schemas/Keccak256 hash, 32 byte hex encoded string"},"rlrReceipts":{"items":{"type":"string"},"type":"array"}},"required":["rlrBlockHash","rlrReceipts"],"type":"object"},"ReceiptProofResponse":{"properties":{"rprBlockHash":{"$ref":"#/components/schemas/Keccak256 hash, 32 byte hex encoded string"},"rprBlockNumber":{"type":"integer"},"rprHeaderRLP":{"type":"string"},"rprLogs":{"items":{"$ref":"#/components/schemas/LogSummary"},"type":"array"},"rprMptProof":{"items":{"type":"string"},"type":"array"},"rprReceiptRLP":{"type":"string"},"rprSignatures":{"items":{"type":"string"},"type":"array"},"rprTxIndex":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"}},"required":["rprBlockHash","rprBlockNumber","rprTxIndex","rprHeaderRLP","rprSignatures","rprReceiptRLP","rprMptProof","rprLogs"],"type":"object"},"SimulatedEvent":{"description":"An event emitted during a simulated execution","properties":{"address":{"type":"string"},"args":{"additionalProperties":{"type":"string"},"type":"object"},"name":{"type":"string"}},"required":["address","name","args"],"type":"object"},"Solidity Argument Value":{"description":"A Solidity argument value, optionally wrapped in a type-hint object of the shape {\"type\": \"<solidity type>\", \"value\": <argument>}","example":5},"Solidity Value":{"description":"A Solidity return type value","example":true},"Solidity type":{"description":"Represents a soldity type","example":{"dynamic":false,"index":10,"key":{"tag":"Address"},"tag":"Mapping","value":{"tag":"Bytes"}},"properties":{"indexedTypeIndex":{"format":"int32","maximum":2147483647,"minimum":-2147483648,"type":"integer"},"indexedTypeType":{"$ref":"#/components/schemas/Solidity type"}},"required":["indexedTypeIndex","indexedTypeType"],"type":"object"},"SourceMap":{"description":"SourceMap","example":[["SimpleStorage.sol","contract SimpleStorage { }"]],"type":"string"},"State Mutability":{"description":"Reserved keywords for function state mutability","enum":["Pure","Constant","View","Payable"],"example":"view","type":"string"},"StateProofResponse":{"properties":{"sprAccountLeaf":{"type":"string"},"sprAccountProof":{"items":{"type":"string"},"type":"array"},"sprAddress":{"$ref":"#/components/schemas/Address"},"sprBlockHash":{"$ref":"#/components/schemas/Keccak256 hash, 32 byte hex encoded string"},"sprBlockNumber":{"type":"integer"},"sprHeaderRLP":{"type":"string"},"sprSignatures":{"items":{"type":"string"},"type":"array"},"sprStorage":{"items":{"$ref":"#/components/schemas/StorageItemProof"},"type":"array"}},"required":["sprBlockNumber","sprBlockHash","sprHeaderRLP","sprSignatures","sprAddress","sprAccountProof","sprAccountLeaf","sprStorage"],"type":"object"},"StorageAddress":{"properties":{"address":{"$ref":"#/components/schemas/Address"},"key":{"$ref":"#/components/schemas/StoragePath"},"value":{"$ref":"#/components/schemas/BasicValue"}},"required":["key","value","address"],"type":"object"},"StorageItemProof":{"properties":{"sipKey":{"type":"string"},"sipPath":{"$ref":"#/components/schemas/StoragePath"},"sipProof":{"items":{"type":"string"},"type":"array"},"sipValue":{"type":"string"}},"required":["sipPath","sipKey","sipProof","sipValue"],"type":"object"},"StoragePath":{"format":"Path to SolidVM storage location","type":"string"},"Transaction Parameters":{"description":"Transaction Parameters","example":{"gasLimit":123,"gasPrice":345,"nonce":9876},"properties":{"attribution":{"type":"string"},"gasLimit":{"maximum":18446744073709551615,"minimum":0,"type":"integer"},"gasPrice":{"maximum":18446744073709551615,"minimum":0,"type":"integer"},"nonce":{"maximum":18446744073709551615,"minimum":0,"type":"integer"}},"type":"object"},"TransactionCount":{"properties":{"transactionCount":{"type":"integer"}},"required":["transactionCount"],"type":"object"},"TransactionResult":{},"TransferPayload":{"description":"Transfer Payload","example":{"metadata":null,"toAddress":"00000000000000000000000000000000deadbeef","txParams":null},"properties":{"metadata":{"additionalProperties":{"type":"string"},"type":"object"},"toAddress":{"$ref":"#/components/schemas/Address"},"txParams":{"$ref":"#/components/schemas/Transaction Parameters"}},"required":["toAddress"],"type":"object"},"TypeDef":{"description":"User defined type (Struct or Enum)","example":{"bytes":3735928559,"names":["SUCCESS","FAILURE","NOT_AUTHORIZED"],"tag":"Enum"},"oneOf":[{"properties":{"bytes":{"maximum":18446744073709551615,"minimum":0,"type":"integer"},"names":{"items":{"type":"string"},"type":"array"},"tag":{"enum":["Enum"],"type":"string"}},"required":["names","bytes","tag"],"title":"Enum","type":"object"},{"properties":{"bytes":{"maximum":18446744073709551615,"minimum":0,"type":"integer"},"fields":{"items":{"items":[{"type":"string"},{"$ref":"#/components/schemas/FieldType"}],"maxItems":2,"minItems":2,"type":"array"},"type":"array"},"tag":{"enum":["Struct"],"type":"string"}},"required":["fields","bytes","tag"],"title":"Struct","type":"object"},{"properties":{"bytes":{"maximum":18446744073709551615,"minimum":0,"type":"integer"},"tag":{"enum":["Contract"],"type":"string"}},"required":["bytes","tag"],"title":"Contract","type":"object"}]},"UnsignedRawTransaction":{},"UploadContractDetails":{"description":"Returned data from contract creation.","example":{"address":"00000000000000000000000000000000deadbeef","name":"Example"},"properties":{"address":{"$ref":"#/components/schemas/Address"},"name":{"type":"string"}},"required":["name"],"type":"object"},"Using schema":{"description":"Xabi of a `using` declaration","example":"for uint[]","type":"string"},"Validator":{"description":"STRATO Validator Address","example":"0c4cecae296c33f71f9a6e6fb57f418f9d5f7e82","type":"string"},"VarType":{"description":"Represents a Solidity Variable","example":{"atBytes":16,"constant":false,"initialValue":"6120418de8a7a0ce3c3a0e3fe907e1351ceb4fe7","public":true,"tag":"Address"},"properties":{"varTypeAtBytes":{"format":"int32","maximum":2147483647,"minimum":-2147483648,"type":"integer"},"varTypeConstant":{"type":"boolean"},"varTypeInitialValue":{"type":"string"},"varTypePublic":{"type":"boolean"},"varTypeType":{"$ref":"#/components/schemas/Solidity type"}},"required":["varTypeAtBytes","varTypeType"],"type":"object"},"Visibility of a Function":{"description":"Xabi Function Visibility","enum":["Private","Public","Internal","External"],"example":"Public","type":"string"},"Xabi Kind Schema":{"description":"Whether this xabi is a contract, a library, an abstract contract or an interface","enum":["ContractKind","InterfaceKind","AbstractKind","LibraryKind"],"example":"ContractKind","type":"string"},"Xabi schema":{"description":"Xabi types","example":{"constr":null,"events":{},"funcs":{"get":{"args":{},"constant":true,"contents":"return x; ","modifiers":null,"payable":false,"stateMutability":"view","vals":{"#0":{"bytes":32,"index":0,"signed":false,"tag":"Int"}},"visibility":null},"set":{"args":{"x":{"bytes":32,"index":0,"signed":false,"tag":"Int"}},"constant":true,"contents":"return; ","modifiers":null,"payable":false,"stateMutability":"pure","vals":{},"visibility":null}},"kind":"ContractKind","modifiers":{"onlyOwner":{"args":{},"contents":"if (msg.sender != owner) throw; _;","selector":"onlyOwner","vals":{}}},"types":{"SimpleStorage":{"bytes":0,"names":["SUCCESS","ERROR"],"tag":"Enum"}},"using":{"SafeMath":"for uint256"},"vars":{"storedData":{"atBytes":0,"bytes":32,"constant":true,"initialValue":null,"public":false,"signed":false,"tag":"Int"}}},"properties":{"constr":{"$ref":"#/components/schemas/Function Type"},"events":{"additionalProperties":{"$ref":"#/components/schemas/Event schema"},"type":"object"},"funcs":{"additionalProperties":{"$ref":"#/components/schemas/Function Type"},"type":"object"},"kind":{"$ref":"#/components/schemas/Xabi Kind Schema"},"modifiers":{"additionalProperties":{"$ref":"#/components/schemas/Function Modifier"},"type":"object"},"types":{"additionalProperties":{"$ref":"#/components/schemas/TypeDef"},"type":"object"},"using":{"additionalProperties":{"$ref":"#/components/schemas/Using schema"},"type":"object"},"vars":{"additionalProperties":{"$ref":"#/components/schemas/VarType"},"type":"object"}},"required":["funcs","vars","types","modifiers","events","kind","using"],"type":"object"},"hex natural":{"example":"8","type":"string"},"hex word8":{"format":"binary","type":"string"}}},"info":{"description":"This is the great Strato API, which let's  you query the blockchain.","title":"Strato API","version":"1.2"},"openapi":"3.0.0","paths":{"/bloc/v2.2":{"get":{"operationId":"getBloc","responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/GitInfo"}},"text/plain;charset=utf-8":{"schema":{"$ref":"#/components/schemas/GitInfo"}}},"description":""}}}},"/bloc/v2.2/contracts":{"get":{"operationId":"getBlocContracts","parameters":[{"in":"query","name":"name","required":false,"schema":{"type":"string"}},{"in":"query","name":"offset","required":false,"schema":{"type":"integer"}},{"in":"query","name":"limit","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/Get Contract Response"}}},"description":""},"400":{"description":"Invalid `limit` or `offset` or `name`"}}}},"/bloc/v2.2/contracts/compile":{"post":{"operationId":"postContractsCompile","requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"items":{"$ref":"#/components/schemas/Post Compile Request"},"type":"array"}}}},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"items":{"$ref":"#/components/schemas/Post Compile Response"},"type":"array"}}},"description":""},"400":{"description":"Invalid `body`"}}}},"/bloc/v2.2/contracts/contract/{contractAddress}/details":{"get":{"operationId":"getByContractAddressDetails","parameters":[{"in":"path","name":"contractAddress","required":true,"schema":{"format":"hex string","maximum":1461501637330902918203684832716283019655932542975,"minimum":0,"type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/Contract"}}},"description":""},"404":{"description":"`contractAddress` not found"}}}},"/bloc/v2.2/contracts/states":{"post":{"operationId":"postContractsStates","requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"items":{"$ref":"#/components/schemas/Get Contracts States"},"type":"array"}}}},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"items":{"additionalProperties":{"$ref":"#/components/schemas/Solidity Value"},"type":"object"},"type":"array"}}},"description":""},"400":{"description":"Invalid `body`"}}}},"/bloc/v2.2/contracts/xabi":{"post":{"operationId":"postContractsXabi","requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/Post Xabi Request"}},"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Post Xabi Request"}}}},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/Post Xabi Response"}}},"description":""},"400":{"description":"Invalid `body`"}}}},"/bloc/v2.2/contracts/{contractName}":{"get":{"operationId":"getContractsByContractName","parameters":[{"in":"path","name":"contractName","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"items":{"$ref":"#/components/schemas/Address"},"type":"array"}}},"description":""},"404":{"description":"`contractName` not found"}}}},"/bloc/v2.2/contracts/{contractName}/all/states":{"get":{"operationId":"getAllStates","parameters":[{"in":"path","name":"contractName","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"items":{"additionalProperties":{"additionalProperties":{"$ref":"#/components/schemas/Solidity Value"},"type":"object"},"type":"object"},"type":"array"}}},"description":""},"404":{"description":"`contractName` not found"}}}},"/bloc/v2.2/contracts/{contractName}/{contractAddress}":{"get":{"operationId":"getByContractNameByContractAddress","parameters":[{"in":"path","name":"contractName","required":true,"schema":{"type":"string"}},{"in":"path","name":"contractAddress","required":true,"schema":{"format":"hex string","maximum":1461501637330902918203684832716283019655932542975,"minimum":0,"type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/Contract"}}},"description":""},"404":{"description":"`contractName` or `contractAddress` not found"}}}},"/bloc/v2.2/contracts/{contractName}/{contractAddress}/enum/{enumName}":{"get":{"operationId":"getEnumByEnumName","parameters":[{"in":"path","name":"contractName","required":true,"schema":{"type":"string"}},{"in":"path","name":"contractAddress","required":true,"schema":{"format":"hex string","maximum":1461501637330902918203684832716283019655932542975,"minimum":0,"type":"string"}},{"in":"path","name":"enumName","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"items":{"$ref":"#/components/schemas/Enum Value"},"type":"array"}}},"description":""},"404":{"description":"`contractName` or `contractAddress` or `enumName` not found"}}}},"/bloc/v2.2/contracts/{contractName}/{contractAddress}/functions":{"get":{"operationId":"getByContractAddressFunctions","parameters":[{"in":"path","name":"contractName","required":true,"schema":{"type":"string"}},{"in":"path","name":"contractAddress","required":true,"schema":{"format":"hex string","maximum":1461501637330902918203684832716283019655932542975,"minimum":0,"type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"items":{"$ref":"#/components/schemas/Function Name"},"type":"array"}}},"description":""},"404":{"description":"`contractName` or `contractAddress` not found"}}}},"/bloc/v2.2/contracts/{contractName}/{contractAddress}/state":{"get":{"operationId":"getByContractAddressState","parameters":[{"in":"path","name":"contractName","required":true,"schema":{"type":"string"}},{"in":"path","name":"contractAddress","required":true,"schema":{"format":"hex string","maximum":1461501637330902918203684832716283019655932542975,"minimum":0,"type":"string"}},{"in":"query","name":"name","required":false,"schema":{"type":"string"}},{"in":"query","name":"count","required":false,"schema":{"type":"integer"}},{"in":"query","name":"offset","required":false,"schema":{"type":"integer"}},{"allowEmptyValue":true,"in":"query","name":"length","schema":{"default":false,"type":"boolean"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"additionalProperties":{"$ref":"#/components/schemas/Solidity Value"},"type":"object"}}},"description":""},"400":{"description":"Invalid `length` or `offset` or `count` or `name`"},"404":{"description":"`contractName` or `contractAddress` not found"}}}},"/bloc/v2.2/contracts/{contractName}/{contractAddress}/state/{mapping}/{key}":{"get":{"operationId":"getByMappingByKey","parameters":[{"in":"path","name":"contractName","required":true,"schema":{"type":"string"}},{"in":"path","name":"contractAddress","required":true,"schema":{"format":"hex string","maximum":1461501637330902918203684832716283019655932542975,"minimum":0,"type":"string"}},{"in":"path","name":"mapping","required":true,"schema":{"type":"string"}},{"in":"path","name":"key","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/Get Contract States Mapping Response"}}},"description":""},"404":{"description":"`contractName` or `contractAddress` or `mapping` or `key` not found"}}}},"/bloc/v2.2/contracts/{contractName}/{contractAddress}/symbols":{"get":{"operationId":"getByContractAddressSymbols","parameters":[{"in":"path","name":"contractName","required":true,"schema":{"type":"string"}},{"in":"path","name":"contractAddress","required":true,"schema":{"format":"hex string","maximum":1461501637330902918203684832716283019655932542975,"minimum":0,"type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"items":{"example":"SymbolName","type":"string"},"type":"array"}}},"description":""},"404":{"description":"`contractName` or `contractAddress` not found"}}}},"/bloc/v2.2/transaction":{"post":{"operationId":"postBlocTransaction","parameters":[{"in":"header","name":"X-USER-ACCESS-TOKEN","required":true,"schema":{"type":"string"}},{"in":"query","name":"username","required":false,"schema":{"type":"string"}},{"allowEmptyValue":true,"in":"query","name":"resolve","schema":{"default":false,"type":"boolean"}}],"requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/PostBlocTransactionRequest"}}}},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"items":{"$ref":"#/components/schemas/BlocTransactionResult"},"type":"array"}}},"description":""},"400":{"description":"Invalid `body` or `resolve` or `username` or `X-USER-ACCESS-TOKEN`"}}}},"/bloc/v2.2/transaction/body":{"post":{"operationId":"postTransactionBody","parameters":[{"in":"header","name":"X-USER-ACCESS-TOKEN","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/PostBlocTransactionRequest"}}}},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"items":{"$ref":"#/components/schemas/BlocTransactionBodyResult"},"type":"array"}}},"description":""},"400":{"description":"Invalid `body` or `X-USER-ACCESS-TOKEN`"}}}},"/bloc/v2.2/transaction/parallel":{"post":{"operationId":"postTransactionParallel","parameters":[{"in":"header","name":"X-USER-ACCESS-TOKEN","required":true,"schema":{"type":"string"}},{"in":"query","name":"username","required":false,"schema":{"type":"string"}},{"allowEmptyValue":true,"in":"query","name":"resolve","schema":{"default":false,"type":"boolean"}}],"requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/PostBlocTransactionRequest"}}}},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"items":{"$ref":"#/components/schemas/BlocTransactionResult"},"type":"array"}}},"description":""},"400":{"description":"Invalid `body` or `resolve` or `username` or `X-USER-ACCESS-TOKEN`"}}}},"/bloc/v2.2/transaction/simulate":{"post":{"operationId":"postTransactionSimulate","parameters":[{"in":"header","name":"X-USER-ACCESS-TOKEN","required":false,"schema":{"type":"string"}},{"in":"query","name":"username","required":false,"schema":{"type":"string"}},{"in":"query","name":"chainid","required":false,"schema":{"type":"string"}},{"allowEmptyValue":true,"in":"query","name":"trace","schema":{"default":false,"type":"boolean"}}],"requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/PostBlocTransactionRequest"}}}},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"items":{"$ref":"#/components/schemas/BlocSimulateResult"},"type":"array"}}},"description":""},"400":{"description":"Invalid `body` or `trace` or `chainid` or `username` or `X-USER-ACCESS-TOKEN`"}}}},"/bloc/v2.2/transaction/unsigned":{"post":{"operationId":"postTransactionUnsigned","parameters":[{"in":"query","name":"username","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/PostBlocTransactionRequest"}}}},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"items":{"$ref":"#/components/schemas/BlocTransactionUnsignedResult"},"type":"array"}}},"description":""},"400":{"description":"Invalid `body` or `username`"}}}},"/bloc/v2.2/transactions/results":{"post":{"operationId":"postTransactionsResults","parameters":[{"allowEmptyValue":true,"in":"query","name":"resolve","schema":{"default":false,"type":"boolean"}}],"requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"items":{"$ref":"#/components/schemas/Keccak256 hash, 32 byte hex encoded string"},"type":"array"}}}},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"items":{"$ref":"#/components/schemas/BlocTransactionResult"},"type":"array"}}},"description":""},"400":{"description":"Invalid `body` or `resolve`"}}}},"/bloc/v2.2/transactions/{hash}/result":{"get":{"operationId":"getByHashResult","parameters":[{"in":"path","name":"hash","required":true,"schema":{"type":"string"}},{"allowEmptyValue":true,"in":"query","name":"resolve","schema":{"default":false,"type":"boolean"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/BlocTransactionResult"}}},"description":""},"400":{"description":"Invalid `resolve`"},"404":{"description":"`hash` not found"}}}},"/eth/v1.2/account":{"get":{"operationId":"getEthAccount","parameters":[{"in":"query","name":"address","required":false,"schema":{"format":"hex string","maximum":1461501637330902918203684832716283019655932542975,"minimum":0,"type":"string"}},{"in":"query","name":"balance","required":false,"schema":{"exclusiveMinimum":false,"minimum":0,"type":"integer"}},{"in":"query","name":"minbalance","required":false,"schema":{"exclusiveMinimum":false,"minimum":0,"type":"integer"}},{"in":"query","name":"maxbalance","required":false,"schema":{"exclusiveMinimum":false,"minimum":0,"type":"integer"}},{"in":"query","name":"nonce","required":false,"schema":{"exclusiveMinimum":false,"minimum":0,"type":"integer"}},{"in":"query","name":"minnonce","required":false,"schema":{"exclusiveMinimum":false,"minimum":0,"type":"integer"}},{"in":"query","name":"maxnonce","required":false,"schema":{"exclusiveMinimum":false,"minimum":0,"type":"integer"}},{"in":"query","name":"maxnumber","required":false,"schema":{"exclusiveMinimum":false,"minimum":0,"type":"integer"}},{"in":"query","name":"codeHash","required":false,"schema":{"type":"string"}},{"in":"query","name":"contractName","required":false,"schema":{"type":"string"}},{"in":"query","name":"external","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"limit","required":false,"schema":{"exclusiveMinimum":false,"minimum":0,"type":"integer"}},{"in":"query","name":"offset","required":false,"schema":{"exclusiveMinimum":false,"minimum":0,"type":"integer"}},{"in":"query","name":"search","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"items":{"$ref":"#/components/schemas/AddressStateRef"},"type":"array"}}},"description":""},"400":{"description":"Invalid `search` or `offset` or `limit` or `external` or `contractName` or `codeHash` or `maxnumber` or `maxnonce` or `minnonce` or `nonce` or `maxbalance` or `minbalance` or `balance` or `address`"}}}},"/eth/v1.2/block":{"get":{"operationId":"getEthBlock","parameters":[{"in":"query","name":"txaddress","required":false,"schema":{"format":"hex string","maximum":1461501637330902918203684832716283019655932542975,"minimum":0,"type":"string"}},{"in":"query","name":"coinbase","required":false,"schema":{"format":"hex string","maximum":1461501637330902918203684832716283019655932542975,"minimum":0,"type":"string"}},{"in":"query","name":"address","required":false,"schema":{"format":"hex string","maximum":1461501637330902918203684832716283019655932542975,"minimum":0,"type":"string"}},{"in":"query","name":"blockid","required":false,"schema":{"type":"string"}},{"in":"query","name":"hash","required":false,"schema":{"type":"string"}},{"in":"query","name":"mindiff","required":false,"schema":{"exclusiveMinimum":false,"minimum":0,"type":"integer"}},{"in":"query","name":"maxdiff","required":false,"schema":{"exclusiveMinimum":false,"minimum":0,"type":"integer"}},{"in":"query","name":"diff","required":false,"schema":{"exclusiveMinimum":false,"minimum":0,"type":"integer"}},{"in":"query","name":"gasused","required":false,"schema":{"exclusiveMinimum":false,"minimum":0,"type":"integer"}},{"in":"query","name":"mingasused","required":false,"schema":{"exclusiveMinimum":false,"minimum":0,"type":"integer"}},{"in":"query","name":"maxgasused","required":false,"schema":{"exclusiveMinimum":false,"minimum":0,"type":"integer"}},{"in":"query","name":"gaslim","required":false,"schema":{"exclusiveMinimum":false,"minimum":0,"type":"integer"}},{"in":"query","name":"mingaslim","required":false,"schema":{"exclusiveMinimum":false,"minimum":0,"type":"integer"}},{"in":"query","name":"maxgaslim","required":false,"schema":{"exclusiveMinimum":false,"minimum":0,"type":"integer"}},{"in":"query","name":"number","required":false,"schema":{"exclusiveMinimum":false,"minimum":0,"type":"integer"}},{"in":"query","name":"minnumber","required":false,"schema":{"exclusiveMinimum":false,"minimum":0,"type":"integer"}},{"in":"query","name":"maxnumber","required":false,"schema":{"exclusiveMinimum":false,"minimum":0,"type":"integer"}},{"in":"query","name":"index","required":false,"schema":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"}},{"in":"query","name":"search","required":false,"schema":{"type":"string"}},{"in":"query","name":"sortby","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"items":{"$ref":"#/components/schemas/Block"},"type":"array"}}},"description":""},"400":{"description":"Invalid `sortby` or `search` or `index` or `maxnumber` or `minnumber` or `number` or `maxgaslim` or `mingaslim` or `gaslim` or `maxgasused` or `mingasused` or `gasused` or `diff` or `maxdiff` or `mindiff` or `hash` or `blockid` or `address` or `coinbase` or `txaddress`"}}}},"/eth/v1.2/block/last/{num}":{"get":{"operationId":"getLastByNum","parameters":[{"in":"path","name":"num","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"items":{"$ref":"#/components/schemas/Block"},"type":"array"}}},"description":""},"404":{"description":"`num` not found"}}}},"/eth/v1.2/code/{codeHash}":{"get":{"operationId":"getCodeByCodeHash","parameters":[{"in":"path","name":"codeHash","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/SourceMap"}}},"description":""},"404":{"description":"`codeHash` not found"}}}},"/eth/v1.2/metadata":{"get":{"operationId":"getEthMetadata","responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/MetadataResponse"}}},"description":""}}}},"/eth/v1.2/peers":{"get":{"operationId":"getEthPeers","responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/JSON Value"}}},"description":""}}}},"/eth/v1.2/receipts/hash/{blockHash}":{"get":{"operationId":"getHashByBlockHash","parameters":[{"in":"path","name":"blockHash","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/ReceiptListResponse"}}},"description":""},"404":{"description":"`blockHash` not found"}}}},"/eth/v1.2/receipts/hash/{blockHash}/proof/{txIndex}":{"get":{"operationId":"getProofByTxIndex","parameters":[{"in":"path","name":"blockHash","required":true,"schema":{"type":"string"}},{"in":"path","name":"txIndex","required":true,"schema":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/ReceiptProofResponse"}}},"description":""},"404":{"description":"`blockHash` or `txIndex` not found"}}}},"/eth/v1.2/receipts/number/{blockNumber}":{"get":{"operationId":"getNumberByBlockNumber","parameters":[{"in":"path","name":"blockNumber","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/ReceiptListResponse"}}},"description":""},"404":{"description":"`blockNumber` not found"}}}},"/eth/v1.2/receipts/number/{blockNumber}/proof/{txIndex}":{"get":{"operationId":"getProofByTxIndex","parameters":[{"in":"path","name":"blockNumber","required":true,"schema":{"type":"integer"}},{"in":"path","name":"txIndex","required":true,"schema":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/ReceiptProofResponse"}}},"description":""},"404":{"description":"`blockNumber` or `txIndex` not found"}}}},"/eth/v1.2/state/proof/{address}":{"get":{"operationId":"getProofByAddress","parameters":[{"in":"path","name":"address","required":true,"schema":{"format":"hex string","maximum":1461501637330902918203684832716283019655932542975,"minimum":0,"type":"string"}},{"in":"query","name":"path","schema":{"items":{"format":"Path to SolidVM storage location","type":"string"},"type":"array"}},{"in":"query","name":"blockNumber","required":false,"schema":{"type":"integer"}},{"in":"query","name":"blockHash","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/StateProofResponse"}}},"description":""},"400":{"description":"Invalid `blockHash` or `blockNumber` or `path`"},"404":{"description":"`address` not found"}}}},"/eth/v1.2/stats/totaltx":{"get":{"operationId":"getStatsTotaltx","responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/TransactionCount"}}},"description":""}}}},"/eth/v1.2/storage":{"get":{"operationId":"getEthStorage","parameters":[{"in":"query","name":"key","required":false,"schema":{"format":"Path to SolidVM storage location","type":"string"}},{"in":"query","name":"minkey","required":false,"schema":{"format":"Path to SolidVM storage location","type":"string"}},{"in":"query","name":"maxkey","required":false,"schema":{"format":"Path to SolidVM storage location","type":"string"}},{"in":"query","name":"value","required":false,"schema":{"format":"simple SolidVM expression","type":"string"}},{"in":"query","name":"minvalue","required":false,"schema":{"format":"simple SolidVM expression","type":"string"}},{"in":"query","name":"maxvalue","required":false,"schema":{"format":"simple SolidVM expression","type":"string"}},{"in":"query","name":"search","required":false,"schema":{"type":"string"}},{"in":"query","name":"address","required":false,"schema":{"format":"hex string","maximum":1461501637330902918203684832716283019655932542975,"minimum":0,"type":"string"}},{"in":"query","name":"offset","required":false,"schema":{"exclusiveMinimum":false,"minimum":0,"type":"integer"}},{"in":"query","name":"limit","required":false,"schema":{"exclusiveMinimum":false,"minimum":0,"type":"integer"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"items":{"$ref":"#/components/schemas/StorageAddress"},"type":"array"}}},"description":""},"400":{"description":"Invalid `limit` or `offset` or `address` or `search` or `maxvalue` or `minvalue` or `value` or `maxkey` or `minkey` or `key`"}}}},"/eth/v1.2/transaction":{"get":{"operationId":"getEthTransaction","parameters":[{"in":"query","name":"address","required":false,"schema":{"format":"hex string","maximum":1461501637330902918203684832716283019655932542975,"minimum":0,"type":"string"}},{"in":"query","name":"from","required":false,"schema":{"format":"hex string","maximum":1461501637330902918203684832716283019655932542975,"minimum":0,"type":"string"}},{"in":"query","name":"to","required":false,"schema":{"format":"hex string","maximum":1461501637330902918203684832716283019655932542975,"minimum":0,"type":"string"}},{"in":"query","name":"hash","required":false,"schema":{"type":"string"}},{"in":"query","name":"gasprice","required":false,"schema":{"exclusiveMinimum":false,"minimum":0,"type":"integer"}},{"in":"query","name":"mingasprice","required":false,"schema":{"exclusiveMinimum":false,"minimum":0,"type":"integer"}},{"in":"query","name":"maxgasprice","required":false,"schema":{"exclusiveMinimum":false,"minimum":0,"type":"integer"}},{"in":"query","name":"gaslimit","required":false,"schema":{"exclusiveMinimum":false,"minimum":0,"type":"integer"}},{"in":"query","name":"mingaslimit","required":false,"schema":{"exclusiveMinimum":false,"minimum":0,"type":"integer"}},{"in":"query","name":"maxgaslimit","required":false,"schema":{"exclusiveMinimum":false,"minimum":0,"type":"integer"}},{"in":"query","name":"value","required":false,"schema":{"exclusiveMinimum":false,"minimum":0,"type":"integer"}},{"in":"query","name":"minvalue","required":false,"schema":{"exclusiveMinimum":false,"minimum":0,"type":"integer"}},{"in":"query","name":"maxvalue","required":false,"schema":{"exclusiveMinimum":false,"minimum":0,"type":"integer"}},{"in":"query","name":"blocknumber","required":false,"schema":{"exclusiveMinimum":false,"minimum":0,"type":"integer"}},{"in":"query","name":"minblocknumber","required":false,"schema":{"exclusiveMinimum":false,"minimum":0,"type":"integer"}},{"in":"query","name":"maxblocknumber","required":false,"schema":{"exclusiveMinimum":false,"minimum":0,"type":"integer"}},{"in":"query","name":"mintimestamp","required":false,"schema":{"format":"yyyy-mm-ddThh:MM:ssZ","type":"string"}},{"in":"query","name":"maxtimestamp","required":false,"schema":{"format":"yyyy-mm-ddThh:MM:ssZ","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"exclusiveMinimum":false,"minimum":0,"type":"integer"}},{"in":"query","name":"offset","required":false,"schema":{"exclusiveMinimum":false,"minimum":0,"type":"integer"}},{"in":"query","name":"search","required":false,"schema":{"type":"string"}},{"in":"query","name":"sortby","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"items":{"$ref":"#/components/schemas/RawTransaction"},"type":"array"}}},"description":""},"400":{"description":"Invalid `sortby` or `search` or `offset` or `limit` or `maxtimestamp` or `mintimestamp` or `maxblocknumber` or `minblocknumber` or `blocknumber` or `maxvalue` or `minvalue` or `value` or `maxgaslimit` or `mingaslimit` or `gaslimit` or `maxgasprice` or `mingasprice` or `gasprice` or `hash` or `to` or `from` or `address`"}}},"post":{"operationId":"postEthTransaction","requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/RawTransaction"}}}},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/Keccak256 hash, 32 byte hex encoded string"}},"text/plain;charset=utf-8":{"schema":{"$ref":"#/components/schemas/Keccak256 hash, 32 byte hex encoded string"}}},"description":""},"400":{"description":"Invalid `body`"}}}},"/eth/v1.2/transaction/last/queued":{"get":{"operationId":"getLastQueued","responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"items":{"$ref":"#/components/schemas/RawTransaction"},"type":"array"}}},"description":""}}}},"/eth/v1.2/transaction/last/{num}":{"get":{"operationId":"getLastByNum","parameters":[{"in":"path","name":"num","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"items":{"$ref":"#/components/schemas/RawTransaction"},"type":"array"}}},"description":""},"404":{"description":"`num` not found"}}}},"/eth/v1.2/transactionResult/batch":{"post":{"operationId":"postTransactionResultBatch","requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"items":{"$ref":"#/components/schemas/Keccak256 hash, 32 byte hex encoded string"},"type":"array"}},"text/plain;charset=utf-8":{"schema":{"items":{"$ref":"#/components/schemas/Keccak256 hash, 32 byte hex encoded string"},"type":"array"}}}},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"additionalProperties":{"items":{"$ref":"#/components/schemas/TransactionResult"},"type":"array"},"type":"object"}}},"description":""},"400":{"description":"Invalid `body`"}}}},"/eth/v1.2/transactionResult/{txHash}":{"get":{"operationId":"getTransactionResultByTxHash","parameters":[{"in":"path","name":"txHash","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"items":{"$ref":"#/components/schemas/TransactionResult"},"type":"array"}}},"description":""},"404":{"description":"`txHash` not found"}}}}}}