Notifications on UTXO Chains and Solana: counterAddress and ADDRESS_TRANSACTION
UTXO chain (like Bitcoin) and Solana notifications omit counterAddress because transactions can be many-to-many; Solana sends counterAddresses instead.
Notifications based on UTXO chains (like Bitcoin) and Solana return with no counterAddress.
UTXO chains and Solana transactions can be built with the transaction logic: many-to-many.
Because of this behavior, tracking an exact counterAddress is not always possible. This parameter will therefore be missing in the notification payload.
However, in Solana there will be counterAddresses containing multiple addresses involved in said transaction.
Notification Example:
- Find the transaction in the Solana Explorer
{
"address": "GLDUC8DpzYNRJK8hxLLVV43JCRo9hXAU7FguVYWP2M8D",
"asset": "SOL",
"type": "native",
"amount": "0.0001",
"counterAddresses": [
"5n3wiCo2FvZ5U4s3b7r1JAeXQNAJ6R78hYCXtDhV8iqa"
],
"blockNumber": 263325510,
"txId": "3Rcz1L2QK7UNkh7nt6RigU1TKzEYiYq3ns7kvjB6z7EqsZ3JGv9N6K2CZDQUx1fa5NvcsEM2dAzWWCqDp4KtYzeK",
"subscriptionType": "ADDRESS_TRANSACTION",
"chain": "solana-mainnet"
}ADDRESS_TRANSACTION on UTXO chains
On UTXO chains (like Bitcoin), an ADDRESS_TRANSACTION notification is based on the address you subscribed. It tells you that the subscribed address was part of a transaction, with either a negative or a positive amount. Transactions that involve multisig addresses send no notification; see why notifications ignore multisig transactions.
For a detailed report of all addresses involved in the transaction as senders and recipients, get the transaction by its hash with Get transaction by hash. For UTXO chains, the response lists every input and output with its address and value.
Updated 4 days ago