MoralisWeb3 / issue-tracker

25 stars 7 forks source link

BSC Archive node missing datda #129

Open noahsilverman opened 2 years ago

noahsilverman commented 2 years ago

Attempting some fairly standard contract calls on the Speedy API endpoint of the BSC archive node.

Calls work find and response is correct for recent blocks. However, if I query for a block a few months back, the reply is empty data.

Below is a CURL example (with my API key obfuscated)

curl --location --request POST "https://speedy-nodes-nyc.moralis.io/xxxxxx/bsc/mainnet/archive" --header 'Content-Type: application/json' --data-raw '{"id": 1, "method": "eth_call", "params": [{"to": "0x804678fa97d91b974ec2af3c843270886528a9e6", "from":"0x0000000000000000000000000000000000000000","data":"0x0902f1ac5dbaeedd3217f11b3cbaf929216c9c5abc2d69da89d54964bead575d"}, "0x84b0df"]}'

The response is then:

{"jsonrpc":"2.0","id":1,"result":"0x"}