We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
None
1 parent 082f556 commit 6cadb19Copy full SHA for 6cadb19
starknet-core/src/types/mod.rs
@@ -106,7 +106,9 @@ pub struct EventsPage {
106
/// Matching events
107
pub events: Vec<EmittedEvent>,
108
/// A pointer to the last element of the delivered page, use this token in a subsequent query to
109
- /// obtain the next page
+ /// obtain the next page. If the value is `None`, don't add it to the response as clients might
110
+ /// use `contains_key` as a check for the last page.
111
+ #[serde(skip_serializing_if = "Option::is_none")]
112
pub continuation_token: Option<String>,
113
}
114
0 commit comments