Skip to main content
POST
/
monitoring
/
addresses
curl -X POST https://secureapi.gridlog.io/api/v1/monitoring/addresses \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "chain": "polygon",
    "address": "0x1A2B3C4D5E6F...",
    "metadata": {"orderId": "order_123"}
  }'
{
  "id": "mon_123e4567...",
  "chain": "polygon",
  "address": "0x1A2B3C4D5E6F...",
  "businessId": "biz_abc..."
}
When you add an address, Myaza watches it on-chain and sends a webhook to your configured endpoint every time a transaction is detected.
chain
string
required
Blockchain to monitor on (e.g., polygon, solana)
address
string
required
The wallet address to monitor
metadata
object
Optional arbitrary metadata to attach to this monitored address (e.g., order ID, user ID)
curl -X POST https://secureapi.gridlog.io/api/v1/monitoring/addresses \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "chain": "polygon",
    "address": "0x1A2B3C4D5E6F...",
    "metadata": {"orderId": "order_123"}
  }'
{
  "id": "mon_123e4567...",
  "chain": "polygon",
  "address": "0x1A2B3C4D5E6F...",
  "businessId": "biz_abc..."
}
id
string
Unique ID for this monitored address entry
chain
string
The blockchain being monitored
address
string
The wallet address being monitored
businessId
string
The business this monitoring entry belongs to
For a payment flow: generate a wallet → add it to monitoring → when a webhook arrives, mark the payment as received.