corda / net.corda.finance.flows / CashIssueFlow

CashIssueFlow

class CashIssueFlow : AbstractCashFlow<Result>

Initiates a flow that self-issues cash (which should then be sent to recipient(s) using a payment transaction).

We issue cash only to ourselves so that all KYC/AML checks on payments are enforced consistently, rather than risk checks for issuance and payments differing. Outside of test scenarios it would be extremely unusual to issue cash and immediately transfer it, so impact of this limitation is considered minimal.

Parameters

amount - the amount of currency to issue.

issuerBankPartyRef - a reference to put on the issued currency.

notary - the notary to set on the output states.

Types

IssueRequest

class IssueRequest : AbstractRequest

Constructors

<init>

CashIssueFlow(amount: <ERROR CLASS><Currency>, issuerBankPartyRef: <ERROR CLASS>, notary: <ERROR CLASS>)
CashIssueFlow(request: IssueRequest)CashIssueFlow(amount: <ERROR CLASS><Currency>, issuerBankPartyRef: <ERROR CLASS>, notary: <ERROR CLASS>, progressTracker: <ERROR CLASS>)

Initiates a flow that self-issues cash (which should then be sent to recipient(s) using a payment transaction).

Inherited Properties

progressTracker

open val progressTracker: <ERROR CLASS>

Functions

call

fun call(): Result

Inherited Functions

finaliseTx

fun finaliseTx(tx: <ERROR CLASS>, sessions: Collection<<ERROR CLASS>>, message: String): <ERROR CLASS>