Skip to main content

Parameters

chainId
string
default:"stellar-soroban"
required
Unique identifier for a blockchain network.
id
number
default:1
required
Request identifier used to match responses.
jsonrpc
string
default:"2.0"
required
JSON-RPC version.
method
string
default:"getEvents"
required
JSON-RPC method name.
params
object
Event filter and pagination options.Parameters for getEvents:
  • params.startLedger: Inclusive starting ledger sequence to search from.
  • params.endLedger: Exclusive ending ledger sequence to stop at.
  • params.contractIds: Optional list of contract IDs to filter on.
  • params.topics: Optional list of topic filters. Provider-specific matching may apply.
  • params.pagination: Pagination controls.

Returns

result
object
Event page containing matched events and a paging cursor.
curl --request POST \
  --url https://api.uniblock.dev/uni/v1/json-rpc?chainId=stellar-soroban \
  --header 'content-type: application/json' \
  --data '{
    "id": 1,
    "jsonrpc": "2.0",
    "method": "getEvents",
    "params": {
      "startLedger": "LEDGER_SEQUENCE",
      "pagination": {
        "limit": 100
      }
    }
  }'
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {}
}