openapi: 3.0.3 info: title: Chainstack Cronos Node API version: 1.0.0 description: Chainstack-managed RPC node API for the Cronos blockchain. Endpoints follow the canonical JSON-RPC over HTTPS interface for the network. Authenticate against your Chainstack node's per-node URL (e.g. https://nd-XXX-XXX-XXX.p2pify.com/). Merged from the Chainstack Developer Portal per-method fragments at https://github.com/chainstack/dev-portal/tree/main/openapi/cronos_node_api. contact: name: Chainstack API Support email: support@chainstack.com license: name: Chainstack Terms url: https://chainstack.com/terms-of-service/ servers: - url: https://{node_id}.p2pify.com/{api_key} description: Chainstack-managed node endpoint variables: node_id: default: nd-000-000-000 description: Your Chainstack node identifier api_key: default: description: Per-node access key tags: - name: General paths: /eth_blockNumber: post: tags: - General summary: eth_blockNumber operationId: eth_blockNumber requestBody: required: true content: application/json: schema: type: object properties: id: type: integer default: 1 jsonrpc: type: string default: '2.0' method: type: string default: eth_blockNumber params: type: array default: [] responses: '200': description: The latest block number. content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: object /eth_call: post: tags: - General summary: Eth_Call operationId: ethCall requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '2.0' method: type: string default: eth_call id: type: integer default: 1 params: type: array items: type: object title: Call object properties: to: type: string description: The address of the contract to call. data: type: string description: The data to send with the call. default: - to: '0x5C7F8A570d578ED84E63fdFA7b1eE72dEae1AE23' data: '0x313ce567' - latest responses: '200': description: The result of the call. content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: string /eth_chainId: post: tags: - General summary: eth_chainId operationId: getChainId requestBody: required: true content: application/json: schema: type: object properties: id: type: integer default: 1 jsonrpc: type: string default: '2.0' method: type: string default: eth_chainId params: type: array default: [] responses: '200': description: The network Chain ID content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: string /eth_estimateGas: post: tags: - General summary: eth_estimateGas operationId: estimateGas requestBody: required: true content: application/json: schema: type: object properties: id: type: integer default: 1 jsonrpc: type: string default: '2.0' method: type: string default: eth_estimateGas params: type: array items: type: object properties: from: type: string format: byte to: type: string format: byte default: - from: '0x25aA97464F38a1506a16160bbc03cfC6DD863da3' to: '0x2A39319dB98A3982F7C363380b72C66Ab1FFe228' - latest responses: '200': description: The estimated gas amount content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: string format: byte /eth_gasPrice: post: tags: - General summary: eth_gasPrice operationId: getGasPrice requestBody: required: true content: application/json: schema: type: object properties: id: type: integer default: 1 jsonrpc: type: string default: '2.0' method: type: string default: eth_gasPrice params: type: array default: [] responses: '200': description: The value of the current gas base fee in Wei. content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: string /eth_getBalance: post: tags: - General summary: eth_getBalance operationId: getBalance requestBody: required: true content: application/json: schema: type: object properties: id: type: integer default: 1 jsonrpc: type: string default: '2.0' method: type: string default: eth_getBalance params: type: array items: anyOf: - type: string title: Address description: The address identifier. - type: string title: Block identifier description: The block identifier. default: - '0x71F0cDb17454ad7EeB7e26242292fe0E0189645a' - pending responses: '200': description: The account balance. content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: object /eth_getBlockByHash: post: tags: - General summary: eth_getBlockByHash operationId: getBlockByHash requestBody: required: true content: application/json: schema: type: object properties: id: type: integer default: 1 jsonrpc: type: string default: '2.0' method: type: string default: eth_getBlockByHash params: type: array items: anyOf: - type: string title: Block Hash description: The hash identifying the block. - type: boolean title: Transaction selector description: True for the full transactions, false for only the transaction hashes. default: - '0x2230d083edc1173cbc7a7ab977318d6a8fc53fec6f147efb0c6544a9c4fc18fd' - false responses: '200': description: The block information content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: object /eth_getBlockByNumber: post: tags: - General summary: eth_getBlockByNumber operationId: getBlockByNumber requestBody: required: true content: application/json: schema: type: object properties: id: type: integer default: 1 jsonrpc: type: string default: '2.0' method: type: string default: eth_getBlockByNumber params: type: array items: anyOf: - type: string title: Block identifier description: The block number or tag. - type: boolean title: Transaction selector description: True for the full transactions, false for only the transaction hashes. default: - latest - false responses: '200': description: The block information content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: object /eth_getBlockTransactionCountByHash: post: tags: - General summary: eth_getBlockTransactionCountByHash operationId: getBlockTransactionCountByHash requestBody: required: true content: application/json: schema: type: object properties: id: type: integer default: 1 jsonrpc: type: string default: '2.0' method: type: string default: eth_getBlockTransactionCountByHash params: type: array items: type: string title: Block hash description: The block hash identifier. default: - '0x2230d083edc1173cbc7a7ab977318d6a8fc53fec6f147efb0c6544a9c4fc18fd' responses: '200': description: The block information content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: string /eth_getBlockTransactionCountByNumber: post: tags: - General summary: eth_getBlockTransactionCountByNumber operationId: getBlockTransactionCountByNumber requestBody: required: true content: application/json: schema: type: object properties: id: type: integer default: 1 jsonrpc: type: string default: '2.0' method: type: string default: eth_getBlockTransactionCountByNumber params: type: array items: type: string title: Block identifier description: The block number or tag. default: - latest responses: '200': description: The block transaction count information content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: string /eth_getCode: post: tags: - General summary: eth_getCode operationId: getCode requestBody: required: true content: application/json: schema: type: object properties: id: type: integer default: 1 jsonrpc: type: string default: '2.0' method: type: string default: eth_getCode params: type: array items: anyOf: - type: string title: Smart contract address description: The address identifier. - type: string title: Block identifier description: The block identifier. default: - '0x5C7F8A570d578ED84E63fdFA7b1eE72dEae1AE23' - latest responses: '200': description: The smart contract code. content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: object /eth_getFilterChanges: post: summary: eth_getFilterChanges operationId: getFilterChanges requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '2.0' method: type: string default: eth_getFilterChanges params: type: array items: type: string title: The filter ID default: - '0xbdc5b4b99ca699e1d734fc4202afee79' id: type: integer default: 1 responses: '200': description: The filter changes. content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: array items: type: string tags: - General /eth_getLogs: post: tags: - General summary: eth_getLogs operationId: getLogs requestBody: required: true content: application/json: schema: type: object properties: method: type: string default: eth_getLogs params: type: array items: type: object properties: fromBlock: type: string title: from block description: The block number or tag to start searching for logs from. default: latest address: type: string title: smart contract address description: The contract address to retrieve the logs for. topics: type: array title: topics items: type: string description: An array of 32-byte topics to filter for. Each topic is treated as an OR condition. default: - fromBlock: latest address: '0x5C7F8A570d578ED84E63fdFA7b1eE72dEae1AE23' topics: - '0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef' id: type: integer default: 1 jsonrpc: type: string default: '2.0' responses: '200': description: An array of log objects matching the specified filter. content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: array items: type: object /eth_getProof: post: tags: - General summary: eth_getProof operationId: getProof requestBody: required: true content: application/json: schema: type: object properties: method: type: string default: eth_getProof params: type: array items: anyOf: - type: string title: Account address description: The address of the account to query. - type: array title: Storage keys description: An array of storage keys to query. items: type: string - type: string title: Block ID description: The block number or tag to use as a reference. default: - '0x5C7F8A570d578ED84E63fdFA7b1eE72dEae1AE23' - - '0xf6e506a9cbe7546a796b187c40609a170ea8073e047129a3cae1c38e6d7559b7' - latest id: type: integer default: 1 jsonrpc: type: string default: '2.0' responses: '200': description: The account state proof. content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: object properties: accountProof: type: array items: type: string storageProof: type: array items: type: object properties: key: type: string value: type: string proof: type: array items: type: string /eth_getStorageAt: post: tags: - General summary: eth_getStorageAt operationId: getStorageAt requestBody: required: true content: application/json: schema: type: object properties: method: type: string default: eth_getStorageAt params: type: array items: anyOf: - type: string title: Smart contract address description: The address of the contract to query. - type: string title: Slot index description: The index of the storage position to query. - type: string title: Block ID description: The block number or tag to use as a reference. default: - '0x5C7F8A570d578ED84E63fdFA7b1eE72dEae1AE23' - '0x2' - latest id: type: integer default: 1 jsonrpc: type: string default: '2.0' responses: '200': description: The value stored at the specified position. content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: string /eth_getTransactionByBlockHashAndIndex: post: tags: - General summary: eth_getTransactionByBlockHashAndIndex operationId: getTransactionByBlockHashAndIndex requestBody: required: true content: application/json: schema: type: object properties: id: type: integer default: 1 jsonrpc: type: string default: '2.0' method: type: string default: eth_getTransactionByBlockHashAndIndex params: type: array items: anyOf: - type: string title: Block hash - type: string title: Transaction index default: - '0x876920092375935114a506dbe0daa54018abd25091c4b34c4a2202fa4c485562' - '0x2' responses: '200': description: The transaction information content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: object /eth_getTransactionByBlockNumberAndIndex: post: tags: - General summary: eth_getTransactionByBlockNumberAndIndex operationId: getTransactionByBlockNumberAndIndex requestBody: required: true content: application/json: schema: type: object properties: id: type: integer default: 1 jsonrpc: type: string default: '2.0' method: type: string default: eth_getTransactionByBlockNumberAndIndex params: type: array items: anyOf: - type: string title: Block number - type: string title: Transaction index default: - '0xd20ec4' - '0x3' responses: '200': description: The transaction information content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: object /eth_getTransactionByHash: post: tags: - General summary: eth_getTransactionByHash operationId: getTransactionByHash requestBody: required: true content: application/json: schema: type: object properties: id: type: integer default: 1 jsonrpc: type: string default: '2.0' method: type: string default: eth_getTransactionByHash params: type: array items: type: string title: Transaction hash default: - '0x07352b3cfc68b13f2e01b60f3edc6c6bb8bb1a3926f1055f9f6a2cde15eec01c' responses: '200': description: The transaction information content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: object /eth_getTransactionCount: post: tags: - General summary: eth_getTransactionCount operationId: getTransactionCount requestBody: required: true content: application/json: schema: type: object properties: id: type: integer default: 1 jsonrpc: type: string default: '2.0' method: type: string default: eth_getTransactionCount params: type: array items: anyOf: - type: string title: Address description: The address to check - type: string title: Block identifier description: The block identifier default: - '0x71F0cDb17454ad7EeB7e26242292fe0E0189645a' - latest responses: '200': description: The address nonce content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: object /eth_getTransactionReceipt: post: tags: - General summary: eth_getTransactionReceipt operationId: getTransactionReceipt requestBody: required: true content: application/json: schema: type: object properties: id: type: integer default: 1 jsonrpc: type: string default: '2.0' method: type: string default: eth_getTransactionReceipt params: type: array items: type: string title: Transaction hash default: - '0x07352b3cfc68b13f2e01b60f3edc6c6bb8bb1a3926f1055f9f6a2cde15eec01c' responses: '200': description: The transaction receipt content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: object /eth_maxPriorityFeePerGas: post: tags: - General summary: eth_maxPriorityFeePerGas operationId: maxPriorityFeePerGas requestBody: required: true content: application/json: schema: type: object properties: id: type: integer default: 1 jsonrpc: type: string default: '2.0' method: type: string default: eth_maxPriorityFeePerGas params: type: array default: [] responses: '200': description: The estimated max priority fee per gas content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: string format: byte /eth_newBlockFilter: post: summary: eth_newBlockFilter operationId: newBlockFilter requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '2.0' method: type: string default: eth_newBlockFilter params: type: array default: [] id: type: integer default: 1 responses: '200': description: The new filter ID. content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: array items: type: string tags: - General /eth_newFilter: post: tags: - General summary: eth_newFilter operationId: newFilter requestBody: required: true content: application/json: schema: type: object properties: method: type: string default: eth_newFilter params: type: array items: type: object properties: fromBlock: type: string title: from block description: The block number or tag to start searching for logs from. default: latest address: type: string title: smart contract address description: The contract address to retrieve the logs for. topics: type: array title: topics items: type: string description: An array of 32-byte topics to filter for. Each topic is treated as an OR condition. default: - fromBlock: latest address: '0x5C7F8A570d578ED84E63fdFA7b1eE72dEae1AE23' topics: - '0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef' id: type: integer default: 1 jsonrpc: type: string default: '2.0' responses: '200': description: The filter ID. content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: string /eth_newPendingTransactionFilter: post: summary: eth_newPendingTransactionFilter operationId: newPendingTransactionFilter requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '2.0' method: type: string default: eth_newPendingTransactionFilter params: type: array default: [] id: type: integer default: 1 responses: '200': description: The new filter ID. content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: array items: type: string tags: - General /eth_sendRawTransaction: post: tags: - General summary: eth_sendRawTransaction operationId: sendRawTransaction requestBody: required: true content: application/json: schema: type: object properties: id: type: integer default: 1 jsonrpc: type: string default: '2.0' method: type: string default: eth_sendRawTransaction params: type: array items: anyOf: - type: string description: The signed transaction. default: - '0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675' responses: '200': description: The transaction hash. content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: object /eth_syncing: post: tags: - General summary: Eth_Syncing operationId: syncing requestBody: required: true content: application/json: schema: type: object properties: id: type: integer default: 1 jsonrpc: type: string default: '2.0' method: type: string default: eth_syncing params: type: array default: [] responses: '200': description: Syncing information content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: object /eth_uninstallFilter: post: summary: eth_uninstallFilter operationId: uninstallFilter requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '2.0' method: type: string default: eth_uninstallFilter params: type: array items: type: string title: Filter ID default: - '0xbdc5b4b99ca699e1d734fc4202afee79' id: type: integer default: 1 responses: '200': description: Boolean value indicating if the filter was removed or not. content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: boolean tags: - General /net_listening: post: tags: - General summary: Net_Listening operationId: listening requestBody: required: true content: application/json: schema: type: object properties: id: type: integer default: 1 jsonrpc: type: string default: '2.0' method: type: string default: net_listening params: type: array default: [] responses: '200': description: The boolean value that indicates whether or not a node is currently actively seeking peer connections. content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: string /net_peerCount: post: tags: - General summary: net_peerCount operationId: peerCount requestBody: required: true content: application/json: schema: type: object properties: id: type: integer default: 1 jsonrpc: type: string default: '2.0' method: type: string default: net_peerCount params: type: array default: [] responses: '200': description: The number of peers connected to the client. content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: string /web3_clientVersion: post: tags: - General summary: web3_clientVersion operationId: clientVersion requestBody: required: true content: application/json: schema: type: object properties: id: type: integer default: 1 jsonrpc: type: string default: '2.0' method: type: string default: web3_clientVersion params: type: array default: [] responses: '200': description: The client running on this node. content: application/json: schema: type: object properties: jsonrpc: type: string id: type: integer result: type: string