Skip to content

Commit

Permalink
fix: revert doc changes
Browse files Browse the repository at this point in the history
  • Loading branch information
notV4l committed May 3, 2023
1 parent 7868bcc commit 356b04d
Showing 1 changed file with 6 additions and 20 deletions.
26 changes: 6 additions & 20 deletions www/docs/API/Provider/rpcProvider.md
Original file line number Diff line number Diff line change
Expand Up @@ -299,12 +299,12 @@ Gets all the events filtered

```typescript
type EventFilter = {
from_block: string;
to_block: string;
fromBlock: string;
toBlock: string;
address: string;
keys: string[];
continuation_token?: string;
chunk_size: number;
page_size: number;
page_number: number;
};
```

Expand All @@ -313,21 +313,7 @@ type EventFilter = {
```typescript
{
events: StarknetEmittedEvent[];
continuation_token?: string;
page_number: number;
is_last_page: number;
}
```

continuation_token is a pointer to the last element of the delivered page, use this token in a subsequent query to obtain the next page

##### _StarknetEmittedEvent_

```typescript
type StarknetEmittedEvent = {
from_address: string;
keys: string[];
data: string[];
block_hash: string;
block_number: number;
transaction_hash: string;
};
```

0 comments on commit 356b04d

Please sign in to comment.