diff --git a/content/api-reference/cronos/cronos-api-overview.mdx b/content/api-reference/cronos/cronos-api-overview.mdx new file mode 100644 index 000000000..e66645e76 --- /dev/null +++ b/content/api-reference/cronos/cronos-api-overview.mdx @@ -0,0 +1,46 @@ +--- +title: Cronos API Overview +description: Overview of available Cronos API methods +subtitle: Comprehensive list of Cronos JSON-RPC methods +slug: docs/cronos/cronos-api-overview +--- + +## Cronos APIs + +📙 Get started with our [Cronos API Quickstart Guide](/docs/reference/cronos-api-quickstart). + +| | | +| ----------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | +| [`eth_accounts`](/docs/chains/cronos/cronos-api-endpoints/eth-accounts) | [`eth_blockNumber`](/docs/chains/cronos/cronos-api-endpoints/eth-block-number) | +| [`eth_call`](/docs/chains/cronos/cronos-api-endpoints/eth-call) | [`eth_chainId`](/docs/chains/cronos/cronos-api-endpoints/eth-chain-id) | +| [`eth_createAccessList`](/docs/chains/cronos/cronos-api-endpoints/eth-create-access-list) | [`eth_estimateGas`](/docs/chains/cronos/cronos-api-endpoints/eth-estimate-gas) | +| [`eth_feeHistory`](/docs/chains/cronos/cronos-api-endpoints/eth-fee-history) | [`eth_fillTransaction`](/docs/chains/cronos/cronos-api-endpoints/eth-fill-transaction) | +| [`eth_gasPrice`](/docs/chains/cronos/cronos-api-endpoints/eth-gas-price) | [`eth_getAccount`](/docs/chains/cronos/cronos-api-endpoints/eth-get-account) | +| [`eth_getBalance`](/docs/chains/cronos/cronos-api-endpoints/eth-get-balance) | [`eth_getBlockByHash`](/docs/chains/cronos/cronos-api-endpoints/eth-get-block-by-hash) | +| [`eth_getBlockByNumber`](/docs/chains/cronos/cronos-api-endpoints/eth-get-block-by-number) | [`eth_getBlockReceipts`](/docs/chains/cronos/cronos-api-endpoints/eth-get-block-receipts) | +| [`eth_getBlockTransactionCountByHash`](/docs/chains/cronos/cronos-api-endpoints/eth-get-block-transaction-count-by-hash) | [`eth_getBlockTransactionCountByNumber`](/docs/chains/cronos/cronos-api-endpoints/eth-get-block-transaction-count-by-number) | +| [`eth_getCode`](/docs/chains/cronos/cronos-api-endpoints/eth-get-code) | [`eth_getFilterChanges`](/docs/chains/cronos/cronos-api-endpoints/eth-get-filter-changes) | +| [`eth_getFilterLogs`](/docs/chains/cronos/cronos-api-endpoints/eth-get-filter-logs) | [`eth_getLogs`](/docs/chains/cronos/cronos-api-endpoints/eth-get-logs) | +| [`eth_getProof`](/docs/chains/cronos/cronos-api-endpoints/eth-get-proof) | [`eth_getRawTransactionByHash`](/docs/chains/cronos/cronos-api-endpoints/eth-get-raw-transaction-by-hash) | +| [`eth_getStorageAt`](/docs/chains/cronos/cronos-api-endpoints/eth-get-storage-at) | [`eth_getTransactionByBlockHashAndIndex`](/docs/chains/cronos/cronos-api-endpoints/eth-get-transaction-by-block-hash-and-index) | +| [`eth_getTransactionByBlockNumberAndIndex`](/docs/chains/cronos/cronos-api-endpoints/eth-get-transaction-by-block-number-and-index) | [`eth_getTransactionByHash`](/docs/chains/cronos/cronos-api-endpoints/eth-get-transaction-by-hash) | +| [`eth_getTransactionCount`](/docs/chains/cronos/cronos-api-endpoints/eth-get-transaction-count) | [`eth_getTransactionReceipt`](/docs/chains/cronos/cronos-api-endpoints/eth-get-transaction-receipt) | +| [`eth_getUncleByBlockHashAndIndex`](/docs/chains/cronos/cronos-api-endpoints/eth-get-uncle-by-block-hash-and-index) | [`eth_getUncleByBlockNumberAndIndex`](/docs/chains/cronos/cronos-api-endpoints/eth-get-uncle-by-block-number-and-index) | +| [`eth_getUncleCountByBlockHash`](/docs/chains/cronos/cronos-api-endpoints/eth-get-uncle-count-by-block-hash) | [`eth_getUncleCountByBlockNumber`](/docs/chains/cronos/cronos-api-endpoints/eth-get-uncle-count-by-block-number) | +| [`eth_maxPriorityFeePerGas`](/docs/chains/cronos/cronos-api-endpoints/eth-max-priority-fee-per-gas) | [`eth_newBlockFilter`](/docs/chains/cronos/cronos-api-endpoints/eth-new-block-filter) | +| [`eth_newFilter`](/docs/chains/cronos/cronos-api-endpoints/eth-new-filter) | [`eth_newPendingTransactionFilter`](/docs/chains/cronos/cronos-api-endpoints/eth-new-pending-transaction-filter) | +| [`eth_protocolVersion`](/docs/chains/cronos/cronos-api-endpoints/eth-protocol-version) | [`eth_sendRawTransaction`](/docs/chains/cronos/cronos-api-endpoints/eth-send-raw-transaction) | +| [`eth_simulateV1`](/docs/chains/cronos/cronos-api-endpoints/eth-simulate-v-1) | [`eth_submitWork`](/docs/chains/cronos/cronos-api-endpoints/eth-submit-work) | +| [`eth_subscribe`](/docs/chains/cronos/cronos-api-endpoints/eth-subscribe) | [`eth_syncing`](/docs/chains/cronos/cronos-api-endpoints/eth-syncing) | +| [`eth_uninstallFilter`](/docs/chains/cronos/cronos-api-endpoints/eth-uninstall-filter) | [`eth_unsubscribe`](/docs/chains/cronos/cronos-api-endpoints/eth-unsubscribe) | +| [`net_listening`](/docs/chains/cronos/cronos-api-endpoints/net-listening) | [`net_peerCount`](/docs/chains/cronos/cronos-api-endpoints/net-peer-count) | +| [`net_version`](/docs/chains/cronos/cronos-api-endpoints/net-version) | [`txpool_content`](/docs/chains/cronos/cronos-api-endpoints/txpool-content) | +| [`web3_clientVersion`](/docs/chains/cronos/cronos-api-endpoints/web-3-client-version) | [`web3_sha3`](/docs/chains/cronos/cronos-api-endpoints/web-3-sha-3) | + +## Related APIs + +The following Alchemy APIs are also supported on Cronos: + +* [Bundler API](/docs/wallets/transactions/low-level-infra/bundler/overview) +* [Gas Manager API](/docs/wallets/api-reference/gas-manager-admin-api/gas-abstraction-api-endpoints/alchemy-request-gas-and-paymaster-and-data) +* [Debug API](/docs/reference/debug-api-quickstart) diff --git a/content/docs.yml b/content/docs.yml index 1b9fc58c4..672125b51 100644 --- a/content/docs.yml +++ b/content/docs.yml @@ -1257,6 +1257,15 @@ navigation: - page: FAQ path: api-reference/kaia/kaia-api-faq.mdx slug: kaia + + - section: Cronos + contents: + - page: Cronos API Overview + path: api-reference/cronos/cronos-api-overview.mdx + - api: Cronos API Endpoints + api-name: cronos + slug: cronos-api-endpoints + slug: cronos - tab: data layout: - section: Introduction diff --git a/src/openrpc/chains/cronos/cronos.yaml b/src/openrpc/chains/cronos/cronos.yaml new file mode 100644 index 000000000..65db73ca9 --- /dev/null +++ b/src/openrpc/chains/cronos/cronos.yaml @@ -0,0 +1,80 @@ +# yaml-language-server: $schema=https://meta.open-rpc.org/ + +$schema: https://meta.open-rpc.org/ +openrpc: 1.2.4 +info: + title: Alchemy Cronos JSON-RPC Specification + description: A specification of the standard JSON-RPC methods for Cronos. + version: 0.0.0 +servers: + - url: https://cronos-mainnet.g.alchemy.com/v2 + name: Cronos Mainnet + - url: https://cronos-testnet.g.alchemy.com/v2 + name: Cronos Testnet +methods: + - $ref: ../_components/custom/methods.yaml#/components/methods/eth_accounts + - $ref: >- + ../_components/custom/methods.yaml#/components/methods/eth_createAccessList + - $ref: ../_components/custom/methods.yaml#/components/methods/eth_feeHistory + - $ref: ../_components/custom/methods.yaml#/components/methods/eth_fillTransaction + - $ref: >- + ../_components/custom/methods.yaml#/components/methods/eth_getBlockReceipts + - $ref: ../_components/custom/methods.yaml#/components/methods/eth_getProof + - $ref: >- + ../_components/custom/methods.yaml#/components/methods/eth_getUncleByBlockHashAndIndex + - $ref: >- + ../_components/custom/methods.yaml#/components/methods/eth_getUncleByBlockNumberAndIndex + - $ref: >- + ../_components/custom/methods.yaml#/components/methods/eth_getUncleCountByBlockHash + - $ref: >- + ../_components/custom/methods.yaml#/components/methods/eth_getUncleCountByBlockNumber + - $ref: >- + ../_components/custom/methods.yaml#/components/methods/eth_maxPriorityFeePerGas + - $ref: >- + ../_components/custom/methods.yaml#/components/methods/eth_newPendingTransactionFilter + - $ref: ../_components/custom/methods.yaml#/components/methods/eth_protocolVersion + - $ref: ../_components/custom/methods.yaml#/components/methods/eth_simulateV1 + - $ref: ../_components/custom/methods.yaml#/components/methods/eth_syncing + - $ref: ../_components/custom/methods.yaml#/components/methods/net_listening + - $ref: ../_components/custom/methods.yaml#/components/methods/net_peerCount + - $ref: ../_components/custom/methods.yaml#/components/methods/txpool_content + - $ref: ../_components/evm/methods.yaml#/components/methods/eth_blockNumber + - $ref: ../_components/evm/methods.yaml#/components/methods/eth_call + - $ref: ../_components/evm/methods.yaml#/components/methods/eth_chainId + - $ref: ../_components/evm/methods.yaml#/components/methods/eth_estimateGas + - $ref: ../_components/evm/methods.yaml#/components/methods/eth_gasPrice + - $ref: ../_components/evm/methods.yaml#/components/methods/eth_getAccount + - $ref: ../_components/evm/methods.yaml#/components/methods/eth_getBalance + - $ref: ../_components/evm/methods.yaml#/components/methods/eth_getBlockByHash + - $ref: ../_components/evm/methods.yaml#/components/methods/eth_getBlockByNumber + - $ref: >- + ../_components/evm/methods.yaml#/components/methods/eth_getBlockTransactionCountByHash + - $ref: >- + ../_components/evm/methods.yaml#/components/methods/eth_getBlockTransactionCountByNumber + - $ref: ../_components/evm/methods.yaml#/components/methods/eth_getCode + - $ref: ../_components/evm/methods.yaml#/components/methods/eth_getFilterChanges + - $ref: ../_components/evm/methods.yaml#/components/methods/eth_getFilterLogs + - $ref: ../_components/evm/methods.yaml#/components/methods/eth_getLogs + - $ref: >- + ../_components/evm/methods.yaml#/components/methods/eth_getRawTransactionByHash + - $ref: ../_components/evm/methods.yaml#/components/methods/eth_getStorageAt + - $ref: >- + ../_components/evm/methods.yaml#/components/methods/eth_getTransactionByBlockHashAndIndex + - $ref: >- + ../_components/evm/methods.yaml#/components/methods/eth_getTransactionByBlockNumberAndIndex + - $ref: >- + ../_components/evm/methods.yaml#/components/methods/eth_getTransactionByHash + - $ref: >- + ../_components/evm/methods.yaml#/components/methods/eth_getTransactionCount + - $ref: >- + ../_components/evm/methods.yaml#/components/methods/eth_getTransactionReceipt + - $ref: ../_components/evm/methods.yaml#/components/methods/eth_newBlockFilter + - $ref: ../_components/evm/methods.yaml#/components/methods/eth_newFilter + - $ref: ../_components/evm/methods.yaml#/components/methods/eth_sendRawTransaction + - $ref: ../_components/evm/methods.yaml#/components/methods/eth_submitWork + - $ref: ../_components/evm/methods.yaml#/components/methods/eth_subscribe + - $ref: ../_components/evm/methods.yaml#/components/methods/eth_uninstallFilter + - $ref: ../_components/evm/methods.yaml#/components/methods/eth_unsubscribe + - $ref: ../_components/evm/methods.yaml#/components/methods/net_version + - $ref: ../_components/evm/methods.yaml#/components/methods/web3_clientVersion + - $ref: ../_components/evm/methods.yaml#/components/methods/web3_sha3