Platform Webhooks(BETA)
Address Activity
Tracks activities for specific addresses on the P or X chains.
- Sub-events:
balance_change:
Triggered whenever a transaction affects the balance of the tracked addresses.balance_threshold:
Triggered when the balance of a tracked address falls below a specified threshold for a particular balance type. The balance must transition from above the threshold to below it.reward_distribution:
Triggered when a tracked address receives a reward UTXO (e.g., staking or validator rewards).
You can subscribe to multiple sub-events in a single webhook, reducing the number of subscriptions you need to manage.
What Data Will You Receive?
When an event triggers your webhook, you’ll receive a JSON payload with details about the event. Here’s what to expect for each event:
Balance change
This notification describes a successful import of 5 AVAX from the C-chain to the P-chain for the address fuji1xp395ktf5kqfv9qyv2astt6fhnc4605pqwrf40
.
The balance change event describes an ImportTx transaction on the Avalanche Fuji testnet where:
- The address
fuji1xp395ktf5kqfv9qyv2astt6fhnc4605pqwrf40
had 5 AVAX (5,000,000,000 nanoAVAX) pending import from the X-Chain. - The transaction
2F1b1kWAGFrGQYoVzPS8DzSYhwcix1JgYb9ctDpw4teNp8QiKS
successfully imported these funds to the P-Chain. - A fee of 4,135 nanoAVAX was paid, resulting in a final balance of 4,999,995,865 nanoAVAX (approximately 4.999995865 AVAX) on the P-Chain, categorized as
unlockedUnstaked
.
If a webhook is created with 10 addresses and an event (tx) is triggered involving 4 addresses—only 3 of which match the webhook subscription—the balance change event will return the combined balance of those 3 matching addresses.
Reward distribution
This payload shows a successful reward distribution event. The delegator staked 187.4115 AVAX with a validator for approximately 14 days and earned a reward of 0.4186 AVAX, which was paid out to their designated address.
Delegation:
- On September 5, 2025, the delegator staked approximately 187.4115 AVAX with the validator
NodeID-9odH3Jbw7uPuRrbaVkVoYeitdzwX6o69A
via transaction2AD5bSwqK7iTSkDqzYHXDeEeipWKHAsUsHoPy4bpuVzEP2AdEN
- The staking period lasted about 14.2 days, ending on September 18, 2025.
Reward Distribution:
- At the end of the staking period, the delegator received a reward of approximately 0.4186 AVAX, distributed via transaction
2DP6xCr6MfLpwPrkzw5A2cNRZrJLwQpt1VB6uQZyDjS9NJdHgT
. - The reward was sent to
avax19zfygxaf59stehzedhxjesads0p5jdvfeedal0
- The actual reward is 0.4271 AVAX.
Balance Threshold
Was this page helpful?