Mempool Notifications
Mempool notifications are in Proof of Concept stage.
EVM Chains
For the Ethereum chain only, it's possible to enable some mempool notifications via the following v3 REST API endpoint .
Ethereum
- Ethereum-mainnet || native transfer (only)
- Ethereum-testnet-sepolia || native transfer (only)
Notification example:
//Mempool: Fee webhook
"webhookBody":{
"address":"0x271ebc3c939db4d08e5eefdbaa3fc00617549c12",
"amount":"-0.00036189",
"asset":"ETH",
"txId":"0xfdd2e1e59887d59ad415a4e9c28d2d7111dd5458cd289577a94d345a0586b7b5",
"type":"fee",
"mempool":true, //the transaction hit the mempool
"subscriptionType":"ADDRESS_TRANSACTION",
"chain":"ethereum-mainnet"
}
//Mempool: Amount webhook
"webhookBody":{
"address":"0x93a8629057d60a3e2b21d60ff15185b6bf1bd246",
"amount":"0.09570849",
"asset":"ETH",
"counterAddress":"0x271ebc3c939db4d08e5eefdbaa3fc00617549c12",
"txId":"0xfdd2e1e59887d59ad415a4e9c28d2d7111dd5458cd289577a94d345a0586b7b5",
"type":"native",
"mempool":true, //the transaction hit the mempool
"subscriptionType":"ADDRESS_TRANSACTION",
"chain":"ethereum-mainnet"
}
//Included in Block: Fee webhook
"webhookBody":{
"address":"0x271ebc3c939db4d08e5eefdbaa3fc00617549c12",
"amount":"-0.00036189",
"asset":"ETH",
"blockNumber":20362145, //The blockNumber
"txId":"0xfdd2e1e59887d59ad415a4e9c28d2d7111dd5458cd289577a94d345a0586b7b5",
"type":"fee",
"chain":"ethereum-mainnet",
subscriptionType":"ADDRESS_TRANSACTION"
}
//Included in Block: Amount webhook
//The transaction from this example failed.
//Therefore, Gas fees were consumed but no amount was transferred.
The transaction from this example ultimately failed. The fees were consumed but the amount itself was not transferred. Therefore, on these events, there won't be a fourth notification.
When a transaction fails to be included in a block, Gas Fees are not refunded.
UTXO Chains
For the Bitcoin chain only, it's possible to enable mempool notifications via the following v3 REST API endpoint
Bitcoin
- Bitcoin-mainnet
- Bitcoin-testnet
Updated 5 months ago