-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmodel_analytics_tx_metadata.go
25 lines (23 loc) · 1.13 KB
/
model_analytics_tx_metadata.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
* QEDIT - Asset Transfers
*
* This SDK provides a programmatic way for interacting with QEDIT's _Asset Transfer_ API. The specification definition file is publicly available [in this repository](https://github.com/QED-it/asset_transfers_dev_guide/).
*
* API version: 1.7.2
* Contact: [email protected]
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
package goqedit
type AnalyticsTxMetadata struct {
Type AnalyticsTxType `json:"type,omitempty"`
// the QEDIT-generated hash of the transaction
TxHash string `json:"tx_hash,omitempty"`
// The height of the Block (inside the Blockchain) that the transaction is a part of
BlockHeight int32 `json:"block_height,omitempty"`
// the hash of the Block (inside the Blockchain) that the transaction is a part of
BlockHash string `json:"block_hash,omitempty"`
// UTC time of creation of the time the Block containing the transaction was created in RFC-3339 format
Timestamp string `json:"timestamp,omitempty"`
// The serial number within the Block of the transaction relative to other QEDIT transactions; indexing is 0-based
IndexInBlock int32 `json:"index_in_block,omitempty"`
}