{% if invoice.oracle_quote and invoice.oracle_quote.quotes and crypto_options %}
Crypto Quote Snapshot
Quoted At: {{ invoice.oracle_quote.quoted_at or "—" }}
Source Status: {{ invoice.oracle_quote.source_status or "—" }}
Frozen Amount: {{ invoice.oracle_quote.amount or invoice.quote_fiat_amount or invoice.total_amount }} {{ invoice.oracle_quote.fiat or invoice.quote_fiat_currency or "CAD" }}
{% if pending_crypto_payment %}
Price locked for 2 minutes after acceptance.
{% else %}
Select a crypto asset to accept the quote.
{% endif %}
{% if pending_crypto_payment and pending_crypto_payment.txid %}
--:--
Waiting for network confirmation
{% elif pending_crypto_payment %}
--:--
This price is locked for 2 minutes
{% else %}
--:--
This price times out:
{% endif %}
{% if pending_crypto_payment and selected_crypto_option %}
{{ pending_crypto_payment.reference }}
{% if selected_crypto_option.wallet_capable and not pending_crypto_payment.txid and not pending_crypto_payment.lock_expired %}
This will open your wallet, prepare the exact transaction, and submit the tx hash back to the portal automatically.
{% elif pending_crypto_payment.txid %}
Transaction Hash:
{{ pending_crypto_payment.txid }}
Transaction submitted and detected on RPC. Waiting for network confirmation.
{% elif pending_crypto_payment.lock_expired %}
price has expired - please refresh your quote to update
{% endif %}
{% if pending_crypto_payment and pending_crypto_payment.txid %}
--:--
Waiting for network confirmation
{% else %}
--:--
This price is locked for 2 minutes
{% endif %}
{% else %}
{% endif %}
{% else %}
No crypto quote snapshot is available for this invoice yet.