eth_blockNumber
.curl
command to send a request to the URL https://mainnet.infura.io/v3/YOUR-PROJECT-ID
. Content-Type
to be application/json
which means the requested resource is a JavaScript Object Notation (JSON) object.-d
or --data
flag specifies more information sent along with the curl request.method
, params
, and id
values are modifiable. jsonrpc
value is required by the specification.