インデクサー
- 概要
- インストール方法
- エンドポイント
- パブリック
- POSTGetNativeTokenBalance
- POSTGetTokenBalancesSummary
- POSTGetTokenBalancesDetails
- POSTGetTokenBalancesByContract
- POSTGetTokenBalances
- POSTGetTokenSupplies
- POSTGetTokenSuppliesMap
- POSTGetBalanceUpdates
- POSTGetTransactionHistory
- POSTFetchTransactionReceipt
- POSTFetchTransactionReceiptWithFilter
- POSTSubscribeReceipts
- POSTSubscribeEvents
- POSTSubscribeBalanceUpdates
- POST
- シークレット
- 例
アナリティクス
- 概要
- エンドポイント
- 例
メタデータ
- 概要
- エンドポイント
- 例
インフラストラクチャ
- 概要
- エンドポイント
ビルダー
- 概要
- エンドポイント
マーケットプレイス
- 概要
- エンドポイント
- 例
ブロックチェーンRPC
パブリック
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
The response is of type object
.
このページは役に立ちましたか?
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>"
]
}
}
}