sui_getEvents RPC Method
Parameters
transaction_digest
string
REQUIRED
The transaction digest to query events for
Returns
result
array
List of transaction events
id
object
Event identifier containing transaction digest and sequence number
txDigest
string
The transaction digest associated with the event
eventSeq
string
The sequence number of the event within the transaction
packageId
string
The package ID where the event originated
transactionModule
string
The module where the event was emitted
sender
string
The sender address of the transaction that triggered the event
type
string
The type of the event, including any type arguments
parsedJson
object
Parsed JSON representation of the event data
key
string or number
Dynamic keys based on event type
bcs
string
Base64-encoded raw data of the event in Binary Canonical Serialization (BCS) format
Request
1curl --location 'https://docs-demo.sui-mainnet.quiknode.pro/' \2--header 'Content-Type: application/json' \3--data '{4"jsonrpc": "2.0",5"id": 1,6"method": "sui_getEvents",7"params": [8"8NB8sXb4m9PJhCyLB7eVH4onqQWoFFzVUrqPoYUhcQe2"9]10}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free