Skip to content

EcashSendOperationLike.details ​

ts
details(): Promise<EcashSendDetails>

Reads the details of an ecash send.

Parameters. None.

Returns. EcashSendDetails. The details of the send.

Throws. Storage, FederationClosed, Internal.

WARNING

The string is bearer money. Whoever has it can redeem it. Show it only to the recipient, and never log it, store it in plain text or send it to analytics.

Example

example.ts
ts
import type { EcashSendOperationLike } from '@fedimint/react-native'

declare const operation: EcashSendOperationLike
declare function showToRecipient(text: string): void

const details = await operation.details() 
showToRecipient(details.notes.display())

Used in. History, step 04