Package org.onyx.api
Class Asset
java.lang.Object
org.onyx.api.Asset
A taxonomy used to differentiate different types of tokens in a ledger.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA builder for defining assets in the ledger.static classIterable interface for consuming individual assets from a query.static classA builder class for listing assets in the ledger.static classA single page of assets returned from a query.static classA builder for updating an asset's tags. -
Field Summary
FieldsModifier and TypeFieldDescriptionUnique, user-specified identifier.The list of IDs for the keys that control the asset.intThe number of keys required to sign transactions that issue tokens of the asset.User-specified key-value data describing the asset. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
id
Unique, user-specified identifier. -
keyIds
The list of IDs for the keys that control the asset. -
quorum
@Expose public int quorumThe number of keys required to sign transactions that issue tokens of the asset. -
tags
User-specified key-value data describing the asset.
-
-
Constructor Details
-
Asset
public Asset()
-