Get events by block number
get/v1/blocks/{block_number}/events
Request
- Base URLhttps://api.shasta.trongrid.io
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
block_numberinteger required
The block number to query events for. Example: 61840405
Query parameters
only_confirmedboolean
Set to true to return only confirmed events; set to false (or omit) to return both confirmed and unconfirmed. Cannot be used simultaneously with only_unconfirmed.
limitinteger
The maximum number of events to return per page. (Default: 20, Max: 200)
fingerprintstring
The fingerprint for pagination, obtained from the meta.fingerprint field of a previous response. Note: When using fingerprint, all other parameters must remain the same.
Response
200
Changes
No recorded changes to this operation across all 1 revision of this API.