Compare commits
1 Commits
master
...
feature/co
| Author | SHA1 | Date | |
|---|---|---|---|
| 1fd2dd50ce |
@@ -5,10 +5,11 @@ const (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type TransactionCreateRequest struct {
|
type TransactionCreateRequest struct {
|
||||||
Version string `json:"version,omitempty"`
|
Version string `json:"version,omitempty"`
|
||||||
TxnType string `json:"txn_type"`
|
TxnType string `json:"txn_type"`
|
||||||
Payload string `json:"payload"`
|
Payload string `json:"payload"`
|
||||||
Tag string `json:"tag,omitempty"`
|
Tag string `json:"tag,omitempty"`
|
||||||
|
CorrelationId string `json:"correlation_id,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type TransactionCreateResponse struct {
|
type TransactionCreateResponse struct {
|
||||||
@@ -35,13 +36,14 @@ type Transaction struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type TransactionHeader struct {
|
type TransactionHeader struct {
|
||||||
Tag string `json:"tag"`
|
Tag string `json:"tag"`
|
||||||
DcId string `json:"dc_id"`
|
DcId string `json:"dc_id"`
|
||||||
TxnId string `json:"txn_id"`
|
TxnId string `json:"txn_id"`
|
||||||
Invoker string `json:"invoker"`
|
Invoker string `json:"invoker"`
|
||||||
BlockId string `json:"block_id"`
|
BlockId string `json:"block_id"`
|
||||||
TxnType string `json:"txn_type"`
|
TxnType string `json:"txn_type"`
|
||||||
Timestamp string `json:"timestamp"`
|
Timestamp string `json:"timestamp"`
|
||||||
|
CorrelationId string `json:"correlation_id,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type TransactionProof struct {
|
type TransactionProof struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user