type Asset
Asset
asset_controller.Asset
asset_controller.Asset
Field | Type | Description |
---|---|---|
version | string | Version of the digital banknote file. |
id | string | UUID of the digital banknote file. |
currency | string | ISO-4217 currency code. |
value | string | Value of the asset represented as a decimal string. |
authority | string | Public key of the monetary Authority. |
owner | string | Public key of the Owner. |
created | string | RFC3339 timestamp when the asset was created. |
genesis_signature | bytes | Signature of the latest block hash from the Notary. |
notary_signature | bytes | Signature of the previous owner. |
notaries repeated | Notary | List of Notaries. |
genesis_hash | string | Genesis hash of all fields in Promissory |
{
"version": "0.1.0",
"id": "ASSET_ID",
"currency": "USD",
"value": "10.00",
"authority": "zAuthorityPublicKeyMultibase58Encoded",
"owner": "zIssuerPublicKeyMultibase58Encoded",
"created": "2006-01-02T15:04:05Z",
"genesis_signature": "ByteLengthAuthSignatureVariesByAlgo=",
"notary_signature": "ByteLengthTransferSignatureVariesByAlgo=",
"notaries": [
{
"did": "did:method-name:zDIDMultibase58Encoded",
"signature": "ByteLengthSignatureVariesByAlgo="
},
{
"did": "did:method-name:zDIDMultibase58Encoded",
"signature": "ByteLengthSignatureVariesByAlgo="
}
]
}