|
745 | 745 | "sources": [ |
746 | 746 | { |
747 | 747 | "fileName": "ethereum/src/api.ts", |
748 | | - "line": 3187, |
| 748 | + "line": 3186, |
749 | 749 | "character": 8 |
750 | 750 | } |
751 | 751 | ], |
|
860 | 860 | "sources": [ |
861 | 861 | { |
862 | 862 | "fileName": "ethereum/src/api.ts", |
863 | | - "line": 3136, |
| 863 | + "line": 3135, |
864 | 864 | "character": 8 |
865 | 865 | } |
866 | 866 | ], |
|
1080 | 1080 | "tags": [ |
1081 | 1081 | { |
1082 | 1082 | "tag": "example", |
1083 | | - "text": "\n```javascript\n// Simple.sol\n// // SPDX-License-Identifier: MIT\n// pragma solidity ^0.7.4;\n//\n// contract Simple {\n// uint256 public value;\n// constructor() payable {\n// value = 5;\n// }\n// }\nconst simpleSol = \"0x6080604052600560008190555060858060196000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c80633fa4f24514602d575b600080fd5b60336049565b6040518082815260200191505060405180910390f35b6000548156fea26469706673582212200897f7766689bf7a145227297912838b19bcad29039258a293be78e3bf58e20264736f6c63430007040033\";\nconst [from] = await provider.request({ method: \"eth_accounts\", params: [] });\nconst txObj = { from, gas: \"0x5b8d80\", gasPrice: \"0x1dfd14000\", value:\"0x0\", data: simpleSol };\nconst slot = \"0x0000000000000000000000000000000000000000000000000000000000000005\"\nconst overrides = { [from]: { balance: \"0x3e8\", \"nonce: \"0x5\", code: \"0xbaddad42\", stateDiff: { [slot]: \"0xbaddad42\"}}}\nconst result = await provider.request({ method: \"eth_call\", params: [txObj, \"latest\", overrides] });\nconsole.log(result);\n```\n" |
| 1083 | + "text": "\n```javascript\n// Simple.sol\n// // SPDX-License-Identifier: MIT\n// pragma solidity ^0.7.4;\n//\n// contract Simple {\n// uint256 public value;\n// constructor() payable {\n// value = 5;\n// }\n// }\nconst simpleSol = \"0x6080604052600560008190555060858060196000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c80633fa4f24514602d575b600080fd5b60336049565b6040518082815260200191505060405180910390f35b6000548156fea26469706673582212200897f7766689bf7a145227297912838b19bcad29039258a293be78e3bf58e20264736f6c63430007040033\";\nconst [from] = await provider.request({ method: \"eth_accounts\", params: [] });\nconst txObj = { from, gas: \"0x5b8d80\", gasPrice: \"0x1dfd14000\", value:\"0x0\", data: simpleSol };\nconst slot = \"0x0000000000000000000000000000000000000000000000000000000000000005\"\nconst overrides = { [from]: { balance: \"0x3e8\", nonce: \"0x5\", code: \"0xbaddad42\", stateDiff: { [slot]: \"0x00000000000000000000000000000000000000000000000000000000baddad42\"}}};\nconst result = await provider.request({ method: \"eth_call\", params: [txObj, \"latest\", overrides] });\nconsole.log(result);\n```\n" |
1084 | 1084 | } |
1085 | 1085 | ] |
1086 | 1086 | }, |
|
1366 | 1366 | "sources": [ |
1367 | 1367 | { |
1368 | 1368 | "fileName": "ethereum/src/api.ts", |
1369 | | - "line": 2918, |
| 1369 | + "line": 2917, |
1370 | 1370 | "character": 8 |
1371 | 1371 | } |
1372 | 1372 | ], |
|
1378 | 1378 | "kindString": "Call signature", |
1379 | 1379 | "flags": {}, |
1380 | 1380 | "comment": { |
1381 | | - "shortText": "Returns a collection of historical block gas data and optional effective fee spent per unit of gas for a given percentile of block gas usage.\nAdded in [EIP-1559](https://www.alchemy.com//blog/eip-1559)", |
| 1381 | + "shortText": "Returns a collection of historical block gas data and optional effective fee spent per unit of gas for a given percentile of block gas usage.", |
1382 | 1382 | "returns": "transaction base fee per gas and effective priority fee per gas for the requested/supported block range\n\n* `oldestBlock`: - Lowest number block of the returned range.\n* `baseFeePerGas`: - An array of block base fees per gas. This includes the next block after the newest of the returned range,\nbecause this value can be derived from the newest block. Zeroes are returned for pre-EIP-1559 blocks.\n* `gasUsedRatio`: - An array of block gas used ratios. These are calculated as the ratio of `gasUsed` and `gasLimit`.\n* `reward`: - An array of effective priority fee per gas data points from a single block. All zeroes are returned if the\nblock is empty.\n", |
1383 | 1383 | "tags": [ |
1384 | 1384 | { |
|
7350 | 7350 | "sources": [ |
7351 | 7351 | { |
7352 | 7352 | "fileName": "ethereum/src/api.ts", |
7353 | | - "line": 3264, |
| 7353 | + "line": 3263, |
7354 | 7354 | "character": 8 |
7355 | 7355 | } |
7356 | 7356 | ], |
|
7435 | 7435 | "sources": [ |
7436 | 7436 | { |
7437 | 7437 | "fileName": "ethereum/src/api.ts", |
7438 | | - "line": 3216, |
| 7438 | + "line": 3215, |
7439 | 7439 | "character": 8 |
7440 | 7440 | } |
7441 | 7441 | ], |
|
7493 | 7493 | "sources": [ |
7494 | 7494 | { |
7495 | 7495 | "fileName": "ethereum/src/api.ts", |
7496 | | - "line": 3294, |
| 7496 | + "line": 3293, |
7497 | 7497 | "character": 8 |
7498 | 7498 | } |
7499 | 7499 | ], |
|
7564 | 7564 | "sources": [ |
7565 | 7565 | { |
7566 | 7566 | "fileName": "ethereum/src/api.ts", |
7567 | | - "line": 3233, |
| 7567 | + "line": 3232, |
7568 | 7568 | "character": 8 |
7569 | 7569 | } |
7570 | 7570 | ], |
|
7635 | 7635 | "sources": [ |
7636 | 7636 | { |
7637 | 7637 | "fileName": "ethereum/src/api.ts", |
7638 | | - "line": 3363, |
| 7638 | + "line": 3362, |
7639 | 7639 | "character": 8 |
7640 | 7640 | } |
7641 | 7641 | ], |
|
7718 | 7718 | "sources": [ |
7719 | 7719 | { |
7720 | 7720 | "fileName": "ethereum/src/api.ts", |
7721 | | - "line": 3422, |
| 7721 | + "line": 3421, |
7722 | 7722 | "character": 8 |
7723 | 7723 | } |
7724 | 7724 | ], |
|
7802 | 7802 | "sources": [ |
7803 | 7803 | { |
7804 | 7804 | "fileName": "ethereum/src/api.ts", |
7805 | | - "line": 3322, |
| 7805 | + "line": 3321, |
7806 | 7806 | "character": 8 |
7807 | 7807 | } |
7808 | 7808 | ], |
|
7903 | 7903 | "sources": [ |
7904 | 7904 | { |
7905 | 7905 | "fileName": "ethereum/src/api.ts", |
7906 | | - "line": 3453, |
| 7906 | + "line": 3452, |
7907 | 7907 | "character": 8 |
7908 | 7908 | } |
7909 | 7909 | ], |
|
8052 | 8052 | "sources": [ |
8053 | 8053 | { |
8054 | 8054 | "fileName": "ethereum/src/api.ts", |
8055 | | - "line": 3510, |
| 8055 | + "line": 3509, |
8056 | 8056 | "character": 8 |
8057 | 8057 | } |
8058 | 8058 | ], |
|
8123 | 8123 | "sources": [ |
8124 | 8124 | { |
8125 | 8125 | "fileName": "ethereum/src/api.ts", |
8126 | | - "line": 3558, |
| 8126 | + "line": 3557, |
8127 | 8127 | "character": 8 |
8128 | 8128 | } |
8129 | 8129 | ], |
|
8193 | 8193 | "sources": [ |
8194 | 8194 | { |
8195 | 8195 | "fileName": "ethereum/src/api.ts", |
8196 | | - "line": 3573, |
| 8196 | + "line": 3572, |
8197 | 8197 | "character": 8 |
8198 | 8198 | } |
8199 | 8199 | ], |
|
8264 | 8264 | "sources": [ |
8265 | 8265 | { |
8266 | 8266 | "fileName": "ethereum/src/api.ts", |
8267 | | - "line": 3485, |
| 8267 | + "line": 3484, |
8268 | 8268 | "character": 8 |
8269 | 8269 | } |
8270 | 8270 | ], |
|
8335 | 8335 | "sources": [ |
8336 | 8336 | { |
8337 | 8337 | "fileName": "ethereum/src/api.ts", |
8338 | | - "line": 3527, |
| 8338 | + "line": 3526, |
8339 | 8339 | "character": 8 |
8340 | 8340 | } |
8341 | 8341 | ], |
|
8423 | 8423 | "sources": [ |
8424 | 8424 | { |
8425 | 8425 | "fileName": "ethereum/src/api.ts", |
8426 | | - "line": 3495, |
| 8426 | + "line": 3494, |
8427 | 8427 | "character": 8 |
8428 | 8428 | } |
8429 | 8429 | ], |
|
8472 | 8472 | "sources": [ |
8473 | 8473 | { |
8474 | 8474 | "fileName": "ethereum/src/api.ts", |
8475 | | - "line": 3470, |
| 8475 | + "line": 3469, |
8476 | 8476 | "character": 8 |
8477 | 8477 | } |
8478 | 8478 | ], |
|
8527 | 8527 | "sources": [ |
8528 | 8528 | { |
8529 | 8529 | "fileName": "ethereum/src/api.ts", |
8530 | | - "line": 3588, |
| 8530 | + "line": 3587, |
8531 | 8531 | "character": 8 |
8532 | 8532 | } |
8533 | 8533 | ], |
|
8598 | 8598 | "sources": [ |
8599 | 8599 | { |
8600 | 8600 | "fileName": "ethereum/src/api.ts", |
8601 | | - "line": 3543, |
| 8601 | + "line": 3542, |
8602 | 8602 | "character": 8 |
8603 | 8603 | } |
8604 | 8604 | ], |
|
8669 | 8669 | "sources": [ |
8670 | 8670 | { |
8671 | 8671 | "fileName": "ethereum/src/api.ts", |
8672 | | - "line": 3602, |
| 8672 | + "line": 3601, |
8673 | 8673 | "character": 8 |
8674 | 8674 | } |
8675 | 8675 | ], |
|
8724 | 8724 | "sources": [ |
8725 | 8725 | { |
8726 | 8726 | "fileName": "ethereum/src/api.ts", |
8727 | | - "line": 3623, |
| 8727 | + "line": 3622, |
8728 | 8728 | "character": 8 |
8729 | 8729 | } |
8730 | 8730 | ], |
|
0 commit comments