POSTrequests. Simply pass in the
Content-Type: application/jsonheader and your query as the
POSTbody with the following fields:
jsonrpc: The JSON-RPC version—currently, only
params: A list of parameters to pass to the method.
id: The ID of your request. Will be returned by the response so you can keep track of which request a response belongs to.
index.jsand add the following contents:
<api-key>with your Alchemy HTTP API key.