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.2 TransferTransaction編

Last updated at Posted at 2021-06-05

まずは基本のTransferTransaction

#Transaction

{
	"transaction": {
		"type": 16724,
		"network": 152,
		"version": 38913,
		"maxFee": "17600",
		"deadline": "27643226853",
		"signature": "1C704CCC8E7F729EB5C2AE4C4A53510472CFA512FEC9F2726CE229FBECFAAAE8EBB34B145FFB482CCB7A0CC53E5E995A071158C954F3180D8AD710BE01973002",
		"signerPublicKey": "EAF79D749E51E4B3C1CD6A663EF9F1388CDD4A39F87544EEC91DD4312127ED89",
		"recipientAddress": {
			"address": "TDWGESLOQZRBLDC5OXIBJEBTSIGM4I4XIGKGCFQ",
			"networkType": 152
		},
		"mosaics": [
			{
				"amount": "10000000000",
				"id": "5B66E76BECAD0860"
			}
		]
	},
	"signer": {
		"publicKey": "EAF79D749E51E4B3C1CD6A663EF9F1388CDD4A39F87544EEC91DD4312127ED89",
		"address": "982B15CB943D0819D42C1DD6B86CE02ABC335FABD91BA8F6"
	},
	"transactionInfo": {
		"height": "375",
		"index": 1,
		"id": "5FC286F4A094C43139213EB1",
		"hash": "DE61702EB9EC9A00277BC97E196B87D287EDA3929AA9939CFEC5F6B931585F7E",
		"merkleComponentHash": "DE61702EB9EC9A00277BC97E196B87D287EDA3929AA9939CFEC5F6B931585F7E"
	}
}

##項目の説明
| field | description |
|:-:|:-:|:-:|
| type | 16724は0x4154になるのでTransferTransaction |
| network | |
| version | |
| maxFee | このトランザクションに出せる最大手数料。実際に消費額はこの値以下になるのでこの値をそのまま使わないように注意。|
| deadline | このトランザクションの有効期間。|
| signature | |
| signerPUblicKey | 署名者の公開鍵。|
| signer | |
| transactionInfo | heightやindexの情報はブロック取り込み後に付加される?ETL作成的には非常にありがたい項目。 |

#Recipient
このTransactionによる副次的な資産変動等は発生しないため、Recipientもなし。
…Transactionのstatusは別APIを使わないといけないのか。面倒。

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?