Skip to content

Instantly share code, notes, and snippets.

@ChaituVR
Created October 16, 2021 04:53
Show Gist options
  • Save ChaituVR/0ec942e46caffe64e75ded184e6993a3 to your computer and use it in GitHub Desktop.
Save ChaituVR/0ec942e46caffe64e75ded184e6993a3 to your computer and use it in GitHub Desktop.
Ankr Arbitrum Node

Request

curl 'https://apis.ankr.com/e9536947ec5942a9930f724f42226975/6106d4a3ec1d1bcc87ec72158f8fd089/arbitrum/full/main' \
  -H 'Connection: keep-alive' \
  -H 'Cache-Control: max-age=0' \
  -H 'sec-ch-ua: "Chromium";v="94", "Google Chrome";v="94", ";Not A Brand";v="99"' \
  -H 'sec-ch-ua-mobile: ?0' \
  -H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36' \
  -H 'content-type: application/json' \
  -H 'Accept: */*' \
  -H 'Origin: http://localhost:3000' \
  -H 'Sec-Fetch-Site: cross-site' \
  -H 'Sec-Fetch-Mode: cors' \
  -H 'Sec-Fetch-Dest: empty' \
  -H 'Referer: http://localhost:3000/' \
  -H 'Accept-Language: en-US,en;q=0.9' \
  --data-raw '{"method":"eth_call","params":[{"to":"0x7a7443f8c577d537f1d8cd4a629d40a3148dd7ee","data":"0x252dba42000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000020000000000000000000000000fd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb90000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000002470a08231000000000000000000000000641c00a822e8b671738d32a431a4fb6074e5c79d00000000000000000000000000000000000000000000000000000000"},"0x188d70"],"id":43,"jsonrpc":"2.0"}' \
  --compressed

Response

{"jsonrpc":"2.0","id":43,"error":{"message":"request time out",
"faq":"https://ankr-network.github.io","issues":"https://github.com/Ankr-network/ankr-service","code":-42605}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment