Receipts Schemas

Note

The catbuffer schemas repository defines how each transaction type should be serialized. In combination with the catbuffer-generators project, developers can generate builder classes for a given set of programming languages.

Receipts

ReceiptType

Enumeration: uint16

Id Description
0x0000 Reserved.

Receipt

Receipts provide proof for every state change not retrievable from the block.

Inlines:

Property Type Description
version uint16 Receipt version.
type ReceiptType Receipt type.

BalanceTransferReceipt

The invisible state change triggered a mosaic transfer.

  • version: 0x1
  • basicType: 0x1

Inlines:

Property Type Description
mosaic Mosaic Mosaic transferred.
senderAddress Address Address of the sender.
recipientAddress Address Address of the recipient.

BalanceChangeReceipt

The invisible state change changed an account balance.

  • version: 0x1
  • basicType: (0x2) credit or (0x3) debit

Inlines:

Property Type Description
mosaic Mosaic Mosaic increased or decreased.
targetAddress Address Address of the target account.

MosaicExpiryReceipt

An mosaic expired.

  • version: 0x1
  • basicType: 0x4

Inlines:

Property Type Description
artifactId MosaicId Mosaic identifier.

InflationReceipt

Network currency mosaics were created due to inflation.

  • version: 0x1
  • basicType: 0x5

Inlines:

Property Type Description
mosaicId MosaicId Identifier of the mosaic that has been created.
amount Amount Number of mosaics created.

TransactionStatement

The collection of receipts related to a transaction.

  • version: 0x1
  • type: Transaction_Group

Inlines:

Property Type Description
source ReceiptSource Transaction that triggered the receipt.
receipts array(Receipt, size=receiptsSize) Array of receipts.