Function cryptoapis::apis::create_subscriptions_for_api::mined_transaction [−][src]
pub async fn mined_transaction(
configuration: &Configuration,
blockchain: &str,
network: &str,
context: Option<&str>,
mined_transaction_rb: Option<MinedTransactionRb>
) -> Result<MinedTransactionR, Error<MinedTransactionError>>
Expand description
Through this endpoint customers can create callback subscriptions for a specific event. In this case the event is when a specific transaction is mined. By creating this subscription the user will be notified by Crypto APIs 2.0 when that event occurs. The information is returned per specified transactionId
. A transaction is mined when it is included in a new block in the blockchain. {note}To have an operational callback subscription, you need to first verify a domain for the Callback URL. Please see more information on Callbacks here.{/note} {warning}Crypto APIs will notify the user only when the event occurs. There are cases when the specific event doesn’t happen at all, or takes a long time to do so. A callback notification will not be sent if the event does not or cannot occur, or will take long time to occur.{/warning}