Using GetBlock configuration files
GetBlock’s configuration file provides a more organized and flexible way to interact with blockchain nodes and networks without exposing sensitive API keys or credentials in the code.
How to make HTTP requests with curl using JSON config file
curl -X GET https://go.getblock.io/"$(jq -r '.shared.btc.mainnet.rest[0]' getblock.config.json)"/rest/chaininfo.jsonHow to use GetBlock’s JavaScript config with Web3.js
How to use the JS config with Hardhat
Last updated
Was this helpful?