create

fun create(from: String, data: BalanceData, protocol: String = "1.0"): Balance

Creates a new Balance resource, autopopulating the id, creation/updated time, and resource kind.

Return

Balance instance.

Parameters

from

DID of the PFI.

data

Specific parameters relevant to a Balance.

protocol

version of the tbdex protocol.