1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Symbol-ETL Part.3 Aggregate Transaction編

Last updated at Posted at 2021-06-06

複数のTransactionを一つにまとめるAggregate Transaction。

#Transaction

{
	"meta": {
		"height": "663",
		"hash": "91B4DEB41A401D124A8B2C5643ABE32F99B92096FA2DB548F6DF7FC06D1490A0",
		"merkleComponentHash": "91B4DEB41A401D124A8B2C5643ABE32F99B92096FA2DB548F6DF7FC06D1490A0",
		"index": 11
	},
	"transaction": {
		"size": 432,
		"signature": "A8677FE81F829929C54EEEA1A3B45689214C0A45DF61BE0BEE0486F2954EED5A17993FDF80BB7AC5C76DD5520C039D1C281214C5CC64481DC9568F1D8C058904",
		"signerPublicKey": "7CF5D7E51339EB03C35321421FAEABC49E78393D04257B9E019E1EBC3CEEFD3B",
		"version": 1,
		"network": 104,
		"type": 16705,
		"maxFee": "1000000",
		"deadline": "111808702",
		"transactionsHash": "7BA5DB18377F4ACBF7DEE333FD1F70B0BE30695F2E3C04410A50A20CA807B6EC",
		"cosignatures": [],
		"transactions": [
			{
				"meta": {
					"height": "663",
					"aggregateHash": "91B4DEB41A401D124A8B2C5643ABE32F99B92096FA2DB548F6DF7FC06D1490A0",
					"aggregateId": "60B778CEEE046621FC1CB520",
					"index": 0
				},
				"transaction": {
					"signerPublicKey": "7CF5D7E51339EB03C35321421FAEABC49E78393D04257B9E019E1EBC3CEEFD3B",
					"version": 1,
					"network": 104,
					"type": 16716,
					"linkedPublicKey": "C6F65B8ECF5CEBC3E8EF21DF99EEBCF5F5C5E57891B9F2EF447648BFF24EDBDE",
					"linkAction": 1
				},
				"id": "60B778CEEE046621FC1CB521"
			},
			{
				"meta": {
					"height": "663",
					"aggregateHash": "91B4DEB41A401D124A8B2C5643ABE32F99B92096FA2DB548F6DF7FC06D1490A0",
					"aggregateId": "60B778CEEE046621FC1CB520",
					"index": 1
				},
				"transaction": {
					"signerPublicKey": "7CF5D7E51339EB03C35321421FAEABC49E78393D04257B9E019E1EBC3CEEFD3B",
					"version": 1,
					"network": 104,
					"type": 16963,
					"linkedPublicKey": "D7673EE552EF6152260EB01F28DDF2E816F6E0873CBD2E202F1F9535284FAB03",
					"linkAction": 1
				},
				"id": "60B778CEEE046621FC1CB522"
			},
			{
				"meta": {
					"height": "663",
					"aggregateHash": "91B4DEB41A401D124A8B2C5643ABE32F99B92096FA2DB548F6DF7FC06D1490A0",
					"aggregateId": "60B778CEEE046621FC1CB520",
					"index": 2
				},
				"transaction": {
					"signerPublicKey": "7CF5D7E51339EB03C35321421FAEABC49E78393D04257B9E019E1EBC3CEEFD3B",
					"version": 1,
					"network": 104,
					"type": 16972,
					"linkedPublicKey": "B48D33CF69F57DB59889062B6DEF057F5FBD54AF0474D8FAFC89E6BCDB81E9FB",
					"linkAction": 1
				},
				"id": "60B778CEEE046621FC1CB523"
			}
		]
	},
	"id": "60B778CEEE046621FC1CB520"
}

##項目の説明
| field | description |
|:-:|:-:|:-:|
| hash | これがInner Transactionも含んだAggregate TransactionのHash。これをキーにInnner Transactionとの紐付けが出来る。 |
| signerPublicKey | Aggregate Transactionに対する署名者のPublic Key |
| type | 16705は0x4141なのでAggregateCompleteTransaction |
| transactionsHash | これはこのWrapper Transaction自身のHash。 |
| cosignatures | inner transactionに対する署名。このサンプルの場合、一人で全てやっているため空欄。 |
| transactions | innner transaction |
| | |

#Recipient
Inner Transactionの種類によっては発生することはあるものの、1Aggregate Transactionだから必ず発生するようなRecipinetはなし。

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?