Skip to content

Commit 5e66cb8

Browse files
committed
Allow address filter in starknet_getEvents to accept array of addresses
1 parent ad45d11 commit 5e66cb8

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

api/starknet_api_openrpc.json

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1203,7 +1203,20 @@
12031203
},
12041204
"address": {
12051205
"title": "from contract",
1206-
"$ref": "#/components/schemas/ADDRESS"
1206+
"description": "A contract address or a list of addresses from which events should originate",
1207+
"oneOf": [
1208+
{
1209+
"title": "Single address",
1210+
"$ref": "#/components/schemas/ADDRESS"
1211+
},
1212+
{
1213+
"title": "List of addresses",
1214+
"type": "array",
1215+
"items": {
1216+
"$ref": "#/components/schemas/ADDRESS"
1217+
}
1218+
}
1219+
]
12071220
},
12081221
"keys": {
12091222
"title": "event keys",

0 commit comments

Comments
 (0)