FULL NAME
SUBJECT
Customer Support
Customer Support
Business / Sales
Partnership
Feedback
Other
TEXT MESSAGE
0/300
⚡ Test Our Private Nodes of 40+ Blockchains just for $50!
Method: POST eth_gasPrice
以 Wei 为单位返回最近区块的百分位数 gas 单价。默认情况下,检查最后 100 个区块并返回第 50 个百分点的 gas 单价(即中值)。
如果没有区块,则返回 --min-gas-price 的值。返回的值仅限于 --min-gas-price 和 --api-gas-price-max 之间的值。默认情况下,1000 威和 500 威。
使用 --api-gas-price-blocks、--api-gas-price-percentile 和 --api-gas-price-max 命令行选项配置 eth_gasPrice 默认值。
-
curl --location --request POST 'https://gno.getblock.io/mainnet/' --header 'x-api-key: YOUR-API-KEY' --header 'Content-Type: application/json' --data-raw '{"jsonrpc": "2.0", "method": "eth_gasPrice", "params": [], "id": "getblock.io"}'
{ "id": "getblock.io", "jsonrpc": "2.0", "result": "0x12a05f200" }
POST eth_protocolVersion
POST eth_syncing
POST eth_coinbase
POST eth_mining
POST eth_hashrate
POST eth_gasPrice
POST eth_accounts
POST eth_blockNumber
POST eth_getBalance
POST eth_getStorageAt
POST eth_getTransactionCount
POST eth_getBlockTransactionCountByHash
POST eth_getBlockTransactionCountByNumber
POST eth_getCode
POST eth_sign
POST eth_sendRawTransaction
POST eth_estimateGas
POST eth_getBlockByHash
POST eth_getBlockByNumber
POST eth_getTransactionByHash
POST eth_getTransactionByBlockHashAndIndex
POST eth_getTransactionByBlockNumberAndIndex
POST eth_getTransactionReceipt
POST eth_getUncleByBlockHashAndIndex
POST eth_getUncleByBlockNumberAndIndex
POST eth_getCompilers
POST eth_compileLLL
POST eth_compileSolidity
POST eth_newFilter
POST eth_newBlockFilter
POST eth_newPendingTransactionFilter
POST eth_uninstallFilter
POST eth_getFilterChanges
POST eth_getLogs
POST eth_getWork
POST eth_submitWork
POST net_version
POST net_listening
POST net_peerCount
POST web3_clientVersion
POST web3_sha3
POST db_putString
POST db_getString
POST db_putHex
POST db_getHex
POST eth_sendTransaction
POST eth_compileSerpent
POST eth_submitHashrate
POST shh_post
POST shh_version
POST shh_newIdentity
POST shh_hasIdentity
POST shh_newGroup
POST shh_addToGroup
POST shh_newFilter
POST shh_uninstallFilter
POST shh_getFilterChanges
POST shh_getMessages
Nodes
Shared Nodes Dedicated Nodes Node Cluster Tracker Pricing Blockchain Development Documentation SLAPartnerships
Media KitNodes
Shared Nodes Dedicated Nodes Node Cluster Tracker Pricing Blockchain Development Documentation SLAPartnerships
Media KitNodes
Shared Nodes Dedicated Nodes Node Cluster Tracker Pricing Blockchain Development Documentation SLAPartnerships
Media KitPartnerships
Media KitFeel Free to Reach Out Anytime! 👋
FULL NAME
SUBJECT
Customer Support
Customer Support
Business / Sales
Partnership
Feedback
Other
TEXT MESSAGE
0/300
KakaoTalk