Transaction details for user confirmation.

P4: amount is the OS (smallest-unit) burn amount as a bigint. Convert to DEM via denomination.osToDem(amount) for display.

interface TransactionDetails {
    amount: bigint;
    description: string;
    targetUrl?: string;
    tokenId?: string;
    transaction: any;
    txHash: string;
}

Properties

amount: bigint

OS amount being burned/spent (bigint).

description: string

Description of what this transaction does

targetUrl?: string

Target URL for attestation requests

tokenId?: string

Token ID for store transactions

transaction: any

The signed transaction object

txHash: string

Transaction hash