Skip to content

Fix broken Ethereum execution API documentation links #2695

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 2 commits into from
Jun 2, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/content/resources/network-integration.mdx
Original file line number Diff line number Diff line change
@@ -64,7 +64,7 @@ Chainlink nodes use RPCs to communicate with the chain and perform soak testing.

The chain must support the [Ethereum JSON-RPC Specification](https://ethereum.org/en/developers/docs/apis/json-rpc). Chainlink services use several methods to operate on the chain and require a specific response format to those calls in line with the JSON RPC standard of Ethereum. If a response does not match this required format, the call fails and the Chainlink node will stop functioning properly.

The following methods are specifically required and must follow the [Ethereum RPC API specification](https://ethereum.github.io/execution-apis/api-documentation/):
The following methods are specifically required and must follow the [Ethereum RPC API specification](https://ethereum.github.io/execution-apis/):

- [GetCode](https://ethereum.org/en/developers/docs/apis/json-rpc#eth_getcode)
- [Call](https://ethereum.org/en/developers/docs/apis/json-rpc#eth_call)
@@ -83,7 +83,7 @@ The following methods are specifically required and must follow the [Ethereum RP
- [GetBlockByNumber](https://ethereum.org/en/developers/docs/apis/json-rpc#eth_getblockbynumber)
- [GetBlockByHash](https://ethereum.org/en/developers/docs/apis/json-rpc#eth_getblockbyhash)

The above RPC methods must have the expected request and response params with expected data types and values as described in the [Execution-api spec](https://github.com/ethereum/execution-apis/tree/main/tests) and [Ethereum RPC API Spec](https://ethereum.github.io/execution-apis/api-documentation/).
The above RPC methods must have the expected request and response params with expected data types and values as described in the [Execution-api spec](https://github.com/ethereum/execution-apis/tree/main/tests) and [Ethereum RPC API Spec](https://ethereum.github.io/execution-apis/).

The network must also support the following items:


Unchanged files with check annotations Beta

return fetch(url).then((res) => res.json())
}
export const getChainMetadata = async (chain: Chain): Promise<ChainMetadata | any> => {

Check warning on line 46 in src/features/data/api/index.ts

GitHub Actions / eslint

Unexpected any. Specify a different type
const requests = chain.networks.map((network) =>
network?.rddUrl
? getFeedsMetadata(network?.rddUrl).then((metadata) => ({
)
}
const DefaultTr = ({ network, proxy, showExtraDetails, isTestnet = false }) => (

Check warning on line 185 in src/features/feeds/components/Tables.tsx

GitHub Actions / eslint

'isTestnet' is assigned a value but never used
<tr>
<td className={tableStyles.pairCol}>
<div className={tableStyles.assetPair}>
lastAddr = 1000,
addrPerPage = 8,
currentPage = 1,
paginate = (page: number) => {

Check warning on line 924 in src/features/feeds/components/Tables.tsx

GitHub Actions / eslint

'page' is defined but never used
/* Default no-op function */
},
searchValue = "",
* @returns Parsed JSON array of feed definitions
* @throws Error if the fetch request fails
*/
async function fetchNetworkJson(url: string): Promise<any[]> {

Check warning on line 255 in src/scripts/data/detect-new-data.ts

GitHub Actions / eslint

Unexpected any. Specify a different type
const res = await fetch(url)
if (!res.ok) {
throw new Error(`Failed to fetch ${url}: ${res.status} ${res.statusText}`)
}
return (await res.json()) as any[]

Check warning on line 260 in src/scripts/data/detect-new-data.ts

GitHub Actions / eslint

Unexpected any. Specify a different type
}
/**
* @param network - Network identifier (e.g., "ethereum", "bnb-chain")
* @returns Standardized DataItem or null if validation fails
*/
function convertToDataItem(obj: any, network: string): DataItem | null {

Check warning on line 275 in src/scripts/data/detect-new-data.ts

GitHub Actions / eslint

Unexpected any. Specify a different type
// 1) Must have a `path`
if (!obj?.path) {
return null
declare module "*.yml" {
const content: any

Check warning on line 2 in src/types/yml.d.ts

GitHub Actions / eslint

Unexpected any. Specify a different type
export default content
}
declare module "*.yaml" {
const content: any

Check warning on line 7 in src/types/yml.d.ts

GitHub Actions / eslint

Unexpected any. Specify a different type
export default content
}
using Chainlink for Chainlink.Request;
uint256 public volume;
bytes32 private jobId;

Check warning on line 23 in public/samples/APIRequests/APIConsumer.sol

GitHub Actions / solidity

Private / internal variable jobId is not prefixed with s_
uint256 private fee;

Check warning on line 24 in public/samples/APIRequests/APIConsumer.sol

GitHub Actions / solidity

Private / internal variable fee is not prefixed with s_
event RequestVolume(bytes32 indexed requestId, uint256 volume);
*/
function withdrawLink() public onlyOwner {
LinkTokenInterface link = LinkTokenInterface(_chainlinkTokenAddress());
require(

Check warning on line 98 in public/samples/APIRequests/APIConsumer.sol

GitHub Actions / solidity

GC: Use Custom Errors instead of require statements
link.transfer(msg.sender, link.balanceOf(address(this))),
"Unable to transfer"
);
function withdrawLink() public onlyOwner {
LinkTokenInterface link = LinkTokenInterface(_chainlinkTokenAddress());
require(

Check warning on line 114 in public/samples/APIRequests/APIConsumerForwarder.sol

GitHub Actions / solidity

GC: Use Custom Errors instead of require statements
link.transfer(msg.sender, link.balanceOf(address(this))),
"Unable to transfer"
);
);
}
function stringToBytes32(

Check warning on line 134 in public/samples/APIRequests/APIConsumerForwarder.sol

GitHub Actions / solidity

Private function stringToBytes32 is not prefixed with underscore (_)
string memory source
) private pure returns (bytes32 result) {
bytes memory tempEmptyStringTest = bytes(source);
function withdrawLink() public onlyOwner {
LinkTokenInterface link = LinkTokenInterface(_chainlinkTokenAddress());
require(

Check warning on line 65 in public/samples/APIRequests/ATestnetConsumer.sol

GitHub Actions / solidity

GC: Use Custom Errors instead of require statements
link.transfer(msg.sender, link.balanceOf(address(this))),
"Unable to transfer"
);
);
}
function stringToBytes32(

Check warning on line 85 in public/samples/APIRequests/ATestnetConsumer.sol

GitHub Actions / solidity

Private function stringToBytes32 is not prefixed with underscore (_)
string memory source
) private pure returns (bytes32 result) {
bytes memory tempEmptyStringTest = bytes(source);
string public id;
bytes32 private jobId;

Check warning on line 24 in public/samples/APIRequests/FetchFromArray.sol

GitHub Actions / solidity

Private / internal variable jobId is not prefixed with s_
uint256 private fee;

Check warning on line 25 in public/samples/APIRequests/FetchFromArray.sol

GitHub Actions / solidity

Private / internal variable fee is not prefixed with s_
event RequestFirstId(bytes32 indexed requestId, string id);
*/
function withdrawLink() public onlyOwner {
LinkTokenInterface link = LinkTokenInterface(_chainlinkTokenAddress());
require(

Check warning on line 94 in public/samples/APIRequests/FetchFromArray.sol

GitHub Actions / solidity

GC: Use Custom Errors instead of require statements
link.transfer(msg.sender, link.balanceOf(address(this))),
"Unable to transfer"
);