Transactions
- Overview
- Installation
- Endpoints
- Examples
Indexer
- Overview
- Installation
- Endpoints
- public
- POSTGetNativeTokenBalance
- POSTGetTokenBalancesSummary
- POSTGetTokenBalancesDetails
- POSTGetTokenBalancesByContract
- POSTGetTokenBalances
- POSTGetTokenSupplies
- POSTGetTokenSuppliesMap
- POSTGetBalanceUpdates
- POSTGetTransactionHistory
- POSTFetchTransactionReceipt
- POSTFetchTransactionReceiptWithFilter
- POSTSubscribeReceipts
- POSTSubscribeEvents
- POSTSubscribeBalanceUpdates
- POST
- secret
- Examples
Indexer Gateway
Analytics
- Overview
- Endpoints
- Examples
Metadata
- Overview
- Endpoints
- Examples
Infrastructure
- Overview
- Endpoints
Builder
- Overview
- Endpoints
Marketplace
- Overview
- Endpoints
- Examples
Node Gateway
public
SubscribeEvents
On Sepolia Mainnet, subscribe and receive receipts based on a filter of transaction mints
POST
/
rpc
/
Indexer
/
SubscribeEvents
curl --request POST \
--url https://amoy-indexer.sequence.app/rpc/Indexer/SubscribeEvents \
--header 'Content-Type: application/json' \
--header 'X-Access-Key: <api-key>' \
--data '{
"filter": {
"events": [
"<string>"
],
"contractAddresses": [
"<string>"
],
"accounts": [
"<string>"
],
"tokenIDs": [
"<string>"
]
}
}'
{
"log": {
"id": 123,
"uid": "<string>",
"type": "UNKNOWN",
"blockNumber": 123,
"blockHash": "<string>",
"parentBlockHash": "<string>",
"contractAddress": "<string>",
"contractType": "UNKNOWN",
"txnHash": "<string>",
"txnIndex": 123,
"txnLogIndex": 123,
"logDataType": "EVENT",
"ts": "<string>",
"txnInfo": {
"from": "<string>",
"to": "<string>",
"value": "<string>"
},
"rawLog": {},
"event": {
"topicHash": "<string>",
"eventSig": "<string>",
"types": [
"<string>"
],
"names": [
"<string>"
],
"values": [
"<string>"
]
}
}
}
Authorizations
Public project access key for authenticating requests obtained on Sequence Builder. Example Test Key: AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI
Body
application/json
Response
200
application/json
OK
Represented as uint8 on the server side
Available options:
UNKNOWN
, BLOCK_ADDED
, BLOCK_REMOVED
Represented as uint8 on the server side
Available options:
UNKNOWN
, NATIVE
, ERC20
, ERC721
, ERC1155
, SEQUENCE_WALLET
, ERC20_BRIDGE
, ERC721_BRIDGE
, ERC1155_BRIDGE
, SEQ_MARKETPLACE
Represented as uint8 on the server side
Available options:
EVENT
, TOKEN_TRANSFER
, NATIVE_TOKEN_TRANSFER
, SEQUENCE_TXN
Was this page helpful?
curl --request POST \
--url https://amoy-indexer.sequence.app/rpc/Indexer/SubscribeEvents \
--header 'Content-Type: application/json' \
--header 'X-Access-Key: <api-key>' \
--data '{
"filter": {
"events": [
"<string>"
],
"contractAddresses": [
"<string>"
],
"accounts": [
"<string>"
],
"tokenIDs": [
"<string>"
]
}
}'
{
"log": {
"id": 123,
"uid": "<string>",
"type": "UNKNOWN",
"blockNumber": 123,
"blockHash": "<string>",
"parentBlockHash": "<string>",
"contractAddress": "<string>",
"contractType": "UNKNOWN",
"txnHash": "<string>",
"txnIndex": 123,
"txnLogIndex": 123,
"logDataType": "EVENT",
"ts": "<string>",
"txnInfo": {
"from": "<string>",
"to": "<string>",
"value": "<string>"
},
"rawLog": {},
"event": {
"topicHash": "<string>",
"eventSig": "<string>",
"types": [
"<string>"
],
"names": [
"<string>"
],
"values": [
"<string>"
]
}
}
}