Skip to content

ERTP API ​

The ERTP API supports the following objects:

ObjectDescription
IssuerThe authority on what holds digital assets of its kind.
MintCan issue new digital assets.
BrandIdentifies the asset type of the associated Issuer and Mint.
PurseHolds digital assets.
PaymentHolds digital assets that are in transit.

The ERTP API uses the following library:

ObjectDescription
AmountMathThe AmountMath object has several methods which can be used to manipulate and analyze Amounts.
Durable IssuersHow contracts create an Issuer that survives vat upgrade.
Legacy Payment HelpersDeprecated standalone replacements for the removed Issuer methods claim, combine, split, and splitMany.

The ERTP API introduces and uses the following data types:

Data TypeDescription
AmountDescribes digital assets, specifying the number and Brand of assets. Note that Amounts can describe either fungible or non-fungible assets.
AmountShapeDescribes digital assets, specifying the properties and Brand of assets.
AmountValueDescribes how much of something there is.
AssetKindSpecifies whether an Amount is fungible or non-fungible.
DisplayInfoSpecifies how to display a Brand's Amounts.