Subscribe to Events
Following are the event subscriptions that a user can subscribe to-
Streaming Events:
Example 1: via wscat script (For Linux based distro)
npm install -g wscat #!/bin/bash
echo "Price Discovery\n"
read -p "x-api-key: " YOUR_API_KEY
wscat -c wss://pricediscovery.expand.network -H authorization:secret-token -H x-api-key:$YOUR_API_KEYWETH
Example 2. via javascript code
Expected Output:
ERC-20
Example 2. via javascript code
Expected Output:
ERC-721
Example 2. via javascript code
Expected Output:
ERC-1155
Example 2. via javascript code
Expected Output:
How to disconnect:
Last updated

