Parameters
chainId
string
default:"sui"
required
Unique identifier for a blockchain network.
Request identifier used to match responses.
jsonrpc
string
default:"2.0"
required
JSON-RPC version.
method
string
default:"suix_subscribeEvent"
required
JSON-RPC method name.
Parameters for suix_subscribeEvent: [filter].Positional parameters for suix_subscribeEvent:params[]: Event filter criteria for subscribing to a stream of Sui events. See Event filter documentation for examples.
Returns
A SuiEvent object representing a single event received by the subscription.
Sequential event ID (e.g., a combination of transaction and event sequence numbers) which serves as the cursor for event querying.
The Move package ID where this event was emitted.
Parsed JSON value of the event.
UTC timestamp in milliseconds since the Unix epoch (nullable).
BigInt for uint64 represented as a string
The Move module in which this event was emitted.
curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=sui \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "suix_subscribeEvent",
"params": [
{
"eventType": "Transfer",
"sender": "0xa6f5a7953a75dc632e696cabe60560522a017bf2fb0bd930d1ec22c06f1ee4e4"
}
]
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {}
}