-
Notifications
You must be signed in to change notification settings - Fork 18
docs(specs): update OpenRPC specifications from Daikon [Bot] #1440
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -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) | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -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 |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This new overview links to
/docs/reference/cronos-api-quickstart, but the commit does not addcontent/api-reference/cronos/cronos-api-quickstart.mdxor any othercronos-api-quickstarttarget (repo-widergonly finds this link). Users who click the getting-started CTA from the Cronos overview will land on a 404 unless the quickstart page/nav entry is added or the link is removed/updated.Useful? React with 👍 / 👎.