post https://{network}.g.alchemy.com/starknet/version/rpc/{version}/
Returns all event objects matching the conditions in the provided filter
Response
Returns all event objects matching the conditions in the provided filter
xxxxxxxxxx
24curl --request POST \
--url https://starknet-mainnet.g.alchemy.com/starknet/version/rpc/v0_7/docs-demo \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"id": 1,
"jsonrpc": "2.0",
"method": "starknet_getEvents",
"params": [
{
"from_block": "latest",
"to_block": "latest",
"address": "0x044e5b3f0471a26bc749ffa1d8dd8e43640e05f1b33cf05cef6adee6f5b1b4cf",
"chunk_size": 10
},
{
"from_block": "latest",
"to_block": "latest",
"address": "0x044e5b3f0471a26bc749ffa1d8dd8e43640e05f1b33cf05cef6adee6f5b1b4cf"
}
]
}
'
Try It!
to start a request and see the response here! Or choose an example: