Transaction webhooks

Subscribe to events using webhooks

An event is a notification about any update in a process. In Liminal, events occur when there is an update on the transactions. These real-time updates are notified to you, as a Virtual Asset Service Provider (VASP). This ensures that you are always informed about the confirmation and completion of your customers’ transactions.

The following flowchart illustrates the flow of the webhook and the actions you can take based on them.

The above flowchart is described as in the following steps:

  1. Your customer (User) initiates a transaction on a blockchain.
  2. Liminal receives the block confirmation on the transaction.
  3. Liminal sends a webhook request to your webhook URL.
  4. You call the Retrieve a transaction status API to check the status of the transaction.
  5. You validate the API response with the webhook request data.
  6. If confirmed, you credit your customer’s account.

In Liminal, webhooks are designed to provide real-time updates about two primary types of events – Send (Outgoing Transactions) and Receive (Incoming Transactions).

Event identificationDescription
SendWhen a transaction is confirmed on the blockchain, for outgoing transactions from Vaults, a 'Send' event is triggered. The associated request notifies your webhook upon the confirmation of the transaction, providing all the necessary details such as transaction ID, the amount sent, the sender's and receiver's wallet details, etc. For more details, see Send webhook requests.
ReceiveWhen a transaction is initiated from an external address and the funds are received in an address belonging to a Liminal Wallet, a 'Receive' event occurs. In case of a 'Receive' event the successful confirmation only gets triggered after the transaction is finalised i.e. after sufficient confirmations are received on blockchain as shown in the block confirmation section. For more details, see Receive webhook requests .

However, while the transaction is being finalised for Bitcoin, Ether and ERC-20 token transactions on Ethereum, you can subscribe to Periodic webhooks. These periodic webhooks will help you and your customers be updated on the fund deposit status as the transaction progresses through block confirmations on-chain. For more details, see Periodic Webhooks.

📘

Note

Block confirmations and Finalisation

Block confirmations play an important role in the security and validity of transactions on the blockchain. In the context of deposits in Liminal, a specific number of block confirmations are required to ensure the validity and confirmation of the transactions. Once these block confirmations are reached the transaction is considered to be finalised. This additional confirmation provides an extra layer of security, reducing the risk of fraudulent transactions.

The following table provides information about the blockchain based block confirmation thresholds for testing and production environments:

ChainBlock confirmations (testing environment)Block confirmations (production environment)
Ethereum2222
Binance Smart ChainNA21
Polygon20151
ArbitrumNA21
AvalancheNA21
OptimismNA21
FantomNA21
FlareNA21
Playa3ull3131
Bitcoin12
Doge2011
Bitcoin Cash110
Litecoin15
Tron1031
Solana1031
Cardano1011
Near3131
Algorand3131
GnosisNA21
Xinfin1021
Tezos30NA
Base ETHNA50

📘

Note

  • Ripple, Stellar, and Cosmos networks don't rely on traditional block confirmations. Instead, they use their own consensus protocols where balances and transactions are synced at set intervals.