New
Enhancement
We now send web hooks for deposits that are considered incomplete. A successful Polygon transaction on Fluidcoins must have 14 or more confirmations. We now send web hook for each unsuccessful confirmation. You can use this to implement logic to show your user they have a pending transaction.
{
"data": {
"address_reference": "ADDR_6u_Jv9twFwrjASuty4H2P",
"amount": 10000000,
"coin": "BUSD",
"destination_tag": 0,
"domain": "live",
"from": "0xca4fd81d1785cdbd4abdfde395c799ca19c12272",
"hash": "0x8c9e9fa993bff5a5fc3d3e7d3c91ffe0090ed02a47d72e264ca346d7de73595a",
"human_readable_amount": 10,
"on_chain": {
"block_hash": "0x8c9e9fa993bff5a5fc3d3e7d3c91ffe0090ed02a47d72e264ca346d7de73595a",
"block_height": 22069640,
"block_timestamp": 62135596800,
"confirmations": 5, // new field
"is_confirmed": false // new field
},
"to": "0xa3244157ff31b2673377bb4c553dd275b54ffc0c",
"transaction_reference":"ADDR_TRANS_1k3go9m4T5gU23faHVzcX"
},
"event": "address.deposit"
}
Please note that it is only safe to provide value to the user when on_chain.is_confirmed
is true. If it is false, you can make it a pending credit.
The confirmation time for each blockchain can be found at https://support.fluidcoins.com/en/articles/6462090-deposit-speed