Subscribe to Contract Events / Monitor Solana Collection
GET
/api/v1/nftcontract/getevents
Establishes a WebSocket connection. For EVM, subscribes to specified events for a contract. For Solana, monitors NFT owner changes within a collection using the provided address as the collection ID.
Request
Query Params
Responses
🟢200OK
application/json
Switching Protocols (WebSocket Upgrade)
Body
🟠400Bad Request
🟠404Record Not Found
🔴500Server Error
🔴501501
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request GET 'https://egpnfts.srblabs.io/api/v1/nftcontract/getevents?network&address'