Christian
Christian
CDCloudflare Developers
Created by Christian on 3/14/2024 in #general-help
Ethereum data on finalized blocks is broken
Dear support team, Please check this example where ccloudflare returns different results to the the same queries on Ethereum's finalized state. Both requests were made within 5 seconds!
[9:36:04] christian:~ $ curl --location 'https://cloudflare-eth.com' \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc":"2.0",
"method":"eth_getTransactionCount",
"params":[
"0xb25eA1D493B49a1DeD42aC5B1208cC618f9A9B80",
"finalized"
],
"id":1
}'
{"jsonrpc":"2.0","result":"0x9f","id":1}%
[9:36:04] christian:~ $ curl --location 'https://cloudflare-eth.com' \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc":"2.0",
"method":"eth_getTransactionCount",
"params":[
"0xb25eA1D493B49a1DeD42aC5B1208cC618f9A9B80",
"finalized"
],
"id":1
}'
{"jsonrpc":"2.0","result":"0x9f","id":1}%
$ curl --location 'https://cloudflare-eth.com' \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc":"2.0",
"method":"eth_getTransactionCount",
"params":[
"0xb25eA1D493B49a1DeD42aC5B1208cC618f9A9B80",
"finalized"
],
"id":1
}'
{"jsonrpc":"2.0","result":"0x89","id":1}%
$ curl --location 'https://cloudflare-eth.com' \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc":"2.0",
"method":"eth_getTransactionCount",
"params":[
"0xb25eA1D493B49a1DeD42aC5B1208cC618f9A9B80",
"finalized"
],
"id":1
}'
{"jsonrpc":"2.0","result":"0x89","id":1}%
Please let me know if you have any questions.
3 replies