File tree Expand file tree Collapse file tree 7 files changed +17
-12
lines changed
mantle/json-rpc-methods/debug Expand file tree Collapse file tree 7 files changed +17
-12
lines changed Original file line number Diff line number Diff line change 11---
22description : Get the base fee history.
33---
4-
4+ import CreditCost from ' @ site/src /components/CreditCost/CreditCostPrice.js';
55import Tabs from "@theme/Tabs ";
66import TabItem from "@theme/TabItem ";
77
88# Get the base fee history
99
10- Returns the base fee history of the specified blockchain network for the previous 500 blocks.
10+ Returns the base fee history of the specified blockchain network for the previous 500 blocks. < CreditCost network = " gasApi " method = " baseFeeHistory " />
1111
1212The base fee is a part of the EIP-1559 upgrade to the Ethereum network, and it represents the
1313minimum price a user must pay for their transaction to be included in a block.
Original file line number Diff line number Diff line change 22description : Get the base fee percentile for a chain.
33---
44
5+ import CreditCost from '@site/src /components/CreditCost/CreditCostPrice.js';
56import Tabs from "@theme/Tabs ";
67import TabItem from "@theme/TabItem ";
78
89# Get the base fee percentile
910
10- Returns the base fee percentile (50th percentile) of the specified blockchain network.
11+ Returns the base fee percentile (50th percentile) of the specified blockchain network. < CreditCost network = " gasApi " method = " baseFeePercentile " />
1112
1213For example, if the API returns a value of ` 20 ` Gwei, it means that 50% of the historical base fees
1314are less than or equal to ` 20 ` Gwei.
Original file line number Diff line number Diff line change 22description : Get the busy threshold.
33---
44
5+ import CreditCost from '@site/src /components/CreditCost/CreditCostPrice.js';
56import Tabs from "@theme/Tabs ";
67import TabItem from "@theme/TabItem ";
78
89# Get the busy threshold
910
10- Returns the busy threshold for the specified blockchain network.
11+ Returns the busy threshold for the specified blockchain network. < CreditCost network = " gasApi " method = " busyThreshold " />
1112
1213For example, a ` busyThreshold ` value of ` 30 ` Gwei indicates that 90% of the historical base fees on
1314the network have been below ` 30 ` Gwei.
Original file line number Diff line number Diff line change 22description : Get the estimated gas prices for a chain.
33---
44
5+ import CreditCost from '@site/src /components/CreditCost/CreditCostPrice.js';
56import Tabs from "@theme/Tabs ";
67import TabItem from "@theme/TabItem ";
78
89# Get EIP-1559 gas prices
910
1011Returns the estimated [ EIP-1559] ( https://eips.ethereum.org/EIPS/eip-1559 ) gas fees for the specified
11- blockchain network.
12+ blockchain network. < CreditCost network = " gasApi " method = " suggestedGasFees " />
1213
1314** GET** ` https://gas.api.infura.io/networks/${chainId}/suggestedGasFees `
1415
Original file line number Diff line number Diff line change @@ -3,13 +3,14 @@ title: linea_estimateGas
33sidebar_label : linea_estimateGas
44---
55
6+ import CreditCost from ' @site/src/components/CreditCost/CreditCostPrice.js' ;
67import Tabs from ' @theme/Tabs' ;
78import TabItem from ' @theme/TabItem' ;
89
910# ` linea_estimateGas `
1011
1112Generates and returns the estimated amount of gas required to allow the transaction to complete and be
12- published on Ethereum. The method does not submit the transaction to the blockchain.
13+ published on Ethereum. The method does not submit the transaction to the blockchain. < CreditCost network = " linea " method = " linea_estimateGas " />
1314
1415The ` priorityFeePerGas ` returned by this method includes the cost of submitting the transaction to Ethereum, which
1516can vary based on the size of the ` calldata ` .
Original file line number Diff line number Diff line change @@ -8,12 +8,12 @@ sidebar_label: Debug methods
88The debug API methods allow you to inspect and debug the network. Infura supports the following debug
99methods on the Mantle network:
1010
11- - [ ` debug_storageRangeAt ` ] ( debug_storagerangeat.md )
12- - [ ` debug_traceBlock ` ] ( debug_traceblock.md )
13- - [ ` debug_traceBlockByHash ` ] ( debug_traceblockbyhash.md )
14- - [ ` debug_traceBlockByNumber ` ] ( debug_traceblockbynumber.md )
15- - [ ` debug_traceTransaction ` ] ( debug_tracetransaction.md )
16- - [ ` debug_traceCall ` ] ( debug_tracecall.md )
11+ - [ ` debug_storageRangeAt ` ] ( debug_storagerangeat.mdx )
12+ - [ ` debug_traceBlock ` ] ( debug_traceblock.mdx )
13+ - [ ` debug_traceBlockByHash ` ] ( debug_traceblockbyhash.mdx )
14+ - [ ` debug_traceBlockByNumber ` ] ( debug_traceblockbynumber.mdx )
15+ - [ ` debug_traceTransaction ` ] ( debug_tracetransaction.mdx )
16+ - [ ` debug_traceCall ` ] ( debug_tracecall.mdx )
1717
1818## Debug tracing types
1919
Original file line number Diff line number Diff line change @@ -213,6 +213,7 @@ export const API_COSTS = {
213213 } ,
214214 linea : {
215215 'linea_estimateGas' : 100 ,
216+ 'linea_getTransactionExclusionStatusV1' : 160 ,
216217 } ,
217218 polygon : {
218219 'bor_getAuthor' : 80 ,
You can’t perform that action at this time.
0 commit comments