Skip to content

sozo events

events is used to queries world events.

USAGE

Usage: sozo events [OPTIONS] --chunk-size <CHUNK_SIZE> [EVENTS]...

Arguments

EVENTS
    List of specific events to be filtered.

OPTIONS

--from-block [-f] FROM_BLOCK
    Block number from where to look for events.

--manifest-path MANIFEST_PATH
    Override path to a directory containing a Scarb.toml file.
    ENV: DOJO_MANIFEST_PATH

--to-block [-t] TO_BLOCK
    Block number until where to look for events.

--chunk-size [-c] CHUNK_SIZE
    Number of events to return per page.

--continuation-token CONTINUATION_TOKEN
    Continuation string to be passed for rpc request.

--json
    Print values as raw json.

World Options

--world WORLD_ADDRESS
    The address of the World contract.
    ENV: DOJO_WORLD_ADDRESS

Starknet Options

--rpc-url URL
    The Starknet RPC endpoint. [default: http://localhost:5050]
    ENV: STARKNET_RPC_URL