DecaneDocs
WalletTransaction history
Wallet

Transaction history

Record what the user sent so it shows up on every device they sign in on. The record is yours to fill: Decane does not watch the chain.

kotlin
val record = wallet.recordTransaction(
    RecordTransactionInput(
        chain = "evm:8453",
        txHash = "0x…",
        to = "0x…",
        value = "1000000000000000",
        kind = "transfer",
        status = "pending",
        metadataJson = """{"note":"rent"}""",
    ),
)

val history = wallet.getTransactionHistory(limit = 50)   // List<TransactionRecord>