アカウント制限スキーマ

注釈

catbuffer スキーマ リポジトリはどのように各トランザクションタイプがシリアライズされるべきかを定義しています。 catbuffer-generators プロジェクトと組み合わせると、開発者は特定のプログラミング言語用のビルダークラスを生成できます。

アカウントアドレス制限

 

AccountAddressRestrictionTransaction

望まないアドレスから/へのトランザクションの送信/受信を防ぐ制限の設定。

Version: 0x01

EntityType: 0x4150

インライン

Property Type Description
restrictionType AccountRestrictionFlags アカウント制限のタイプ
restrictionAdditionsCount uint8 アカウント制限の追加数
restrictionDeletionsCount uint8 アカウント制限の削除数
accountRestrictionTransactionBody_Reserved1 uint32 制限追加の終わりを 8 バイト境界に揃える予約パディング
restrictionAdditions array(UnresolvedAddress, restrictionAdditionsCount) アカウント制限の追加
restrictionDeletions array(UnresolvedAddress, restrictionDeletionsCount) アカウント制限の削除

アカウントモザイク制限

 

AccountMosaicRestrictionTransaction

特定のモザイクを含むトランザクションの受け取りを防ぐ制限の設定。

Version: 0x01

EntityType: 0x4250

インライン

Property Type Description
restrictionType AccountRestrictionFlags アカウント制限のタイプ
restrictionAdditionsCount uint8 アカウント制限の追加数
restrictionDeletionsCount uint8 アカウント制限の削除数
accountRestrictionTransactionBody_Reserved1 uint32 制限追加の終わりを 8 バイト境界に揃える予約パディング
restrictionAdditions array(UnresolvedMosaicId, restrictionAdditionsCount) アカウント制限の追加
restrictionDeletions array(UnresolvedMosaicId, restrictionDeletionsCount) アカウント制限の削除

アカウント操作制限

 

AccountOperationRestrictionTransaction

タイプ によるトランザクションのアナウンスを防止する制限の設定。

Version: 0x01

EntityType: 0x4350

インライン

Property Type Description
restrictionType AccountRestrictionFlags アカウント制限のタイプ
restrictionAdditionsCount uint8 アカウント制限の追加数
restrictionDeletionsCount uint8 アカウント制限の削除数
accountRestrictionTransactionBody_Reserved1 uint32 制限追加の終わりを 8 バイト境界に揃える予約パディング
restrictionAdditions array(EntityType, restrictionAdditionsCount) アカウント制限の追加
restrictionDeletions array(EntityType, restrictionDeletionsCount) アカウント制限の削除

アカウント制限タイプ

 

AccountRestrictionFlags

Enumeration: uint16

Id Description
0x0001 アドレスの制限タイプ
0x0002 モザイク識別子の制限タイプ
0x0004 トランザクションタイプの制限タイプ
0x4000 制限は送信として解釈されます。
0x8000 制限は操作ブロックとして解釈されます。