diff --git a/README.md b/README.md index 8966768..d6d8999 100644 --- a/README.md +++ b/README.md @@ -160,6 +160,13 @@ Here are some of the planned improvements:
jinmu0410 + + + + youngpriince +
+ ypszn +
diff --git a/client/network_chains.go b/client/network_chains.go index 0713141..4342fd9 100644 --- a/client/network_chains.go +++ b/client/network_chains.go @@ -20,16 +20,23 @@ type ChainBaseDatasetListItem struct { } type ChainResponse struct { - Code int `json:"code"` - Message string `json:"message"` - GraphData []struct { - Chain struct { - ID string `json:"id"` - Name string `json:"name"` - DatabaseName string `json:"databaseName"` - DataDictionary map[string][]TableInfo `json:"dataDictionary"` - } `json:"chain"` - } `json:"graphData"` + Code int `json:"code"` + Message string `json:"message"` + GraphData []struct { + Chain struct { + ID string `json:"id"` + Name string `json:"name"` + DatabaseName string `json:"databaseName"` + DataDictionary map[string][]TableInfo `json:"dataDictionary"` + } `json:"chain"` + } `json:"graphData"` + TransactionLogs *[]TransactionLog `json:"transactionLogs,omitempty"` +} + +type TransactionLog struct { + Timestamp string `json:"timestamp"` + Action string `json:"action"` + Details string `json:"details"` } type TableInfo struct {