Transfer

data class Transfer(val sender: String, val receiver: String, val amount: BigDecimal, val instrumentId: InstrumentId, val requestedAt: Instant, val executeBefore: Instant, val inputHoldingCids: List<String>, val meta: Map<String, String>)

Splice.Api.Token.TransferInstructionV1.Transfer — the transfer specification.

Constructors

Link copied to clipboard
constructor(sender: String, receiver: String, amount: BigDecimal, instrumentId: InstrumentId, requestedAt: Instant, executeBefore: Instant, inputHoldingCids: List<String>, meta: Map<String, String>)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun Transfer.toValue(): ValueOuterClass.Value

This transfer as the Daml Transfer record a choice argument expects; Transfer.meta becomes a Metadata record.