Optional
chainId: number{number} the chainId number. defaults to getCurrentChain()
Static
Private
cachecache of Latest Gas Limit
return verified configurations
get supported chain map
get supported chain id list
get supported chain/network short name list
query information about a block by blockHash
{string} A string representing the hash (32 bytes) of a block.
Optional
transactionDetails: boolean{boolean} If set to true, returns the full transaction objects, if false returns only the hashes of the transactions.
query information about a block by hexBlockNumber
{string} A hexadecimal block number, or one of the string tags latest, earliest, pending, safe, or finalized. https://ethereum.org/en/developers/docs/apis/json-rpc/#default-block
Optional
transactionDetails: boolean{boolean} If set to true, returns the full transaction objects, if false returns only the hashes of the transactions.
Generates and returns an estimate of how much gas is necessary to allow the transaction to complete. The transaction will not be added to the blockchain. Note that the estimate may be significantly more than the amount of gas actually used by the transaction, for a variety of reasons including EVM mechanics and node performance. https://docs.infura.io/api/networks/ethereum/json-rpc-methods/eth_estimategas
{TransactionRequest} transaction request object
gas limit in wei.
Returns an estimate of how much priority fee, in wei, you need to be included in a block. https://docs.infura.io/networks/ethereum/json-rpc-methods/eth_maxpriorityfeepergas
fetch information about a transaction by a given hash.
{string}
Protected
cloneProtected
deep clone configuration from the input
{NetworkModels}
Protected
setProtected
setset supported chain map
{RpcSupportedChainMap}
Protected
setProtected
set
https://portal.1inch.dev/documentation/authentication