API Reference

Create Event Monitor

posthttps://api.circle.com/v1/w3s/contracts/monitors

  • Reference
  • Playground

Create a new event monitor based on the provided blockchain, contract address, and event signature.

Body parameters
idempotencyKey
string
Required

Universally unique identifier (UUID v4) idempotency key. This key is utilized to ensure exactly-once execution of mutating requests. To create a UUIDv4 go to uuidgenerator.net. If the same key is reused, it will be treated as the same request and the original response will be returned.

eventSignature
string
Required

The specific event to which you want to subscribeven. Please ensure no spaces are included.

contractAddress
string
Required

The on-chain address of this contract.

blockchain
object
Required
Response
RequestChoose a language
ResponseChoose an example
1{
2  "data": {
3    "eventMonitor": {
4      "id": "e3c998a5-bdf1-4f3e-812f-24da238c0fff",
5      "blockchain": {},
6      "contractAddress": "0x1e124d7384cd34448ea5907bd0052a79355ab5eb",
7      "eventSignature": "Transfer(address indexed from, address indexed to, uint256 value)",
8      "eventSignatureHash": "0xd3d3dd4b1fd3e53f94deb24e763485b4c925345c5abfa9ad529c67aa55a3b784",
9      "isEnabled": true
10    }
11  }
12}
Did this page help you?
© 2023-2025 Circle Technology Services, LLC. All rights reserved.