OSDN Git Service

feat(federation): add address and timestamp (#223)
[bytom/vapor.git] / federation / database / orm / cross_transaction_req.go
index 39a487b..d5c9ec5 100644 (file)
@@ -11,6 +11,8 @@ type CrossTransactionReq struct {
        AssetID            uint64          `json:"-"`
        AssetAmount        uint64          `json:"amount"`
        Script             string          `json:"-"`
+       FromAddress        string          `json:"from_address"`
+       ToAddress          string          `json:"to_address"`
        CreatedAt          types.Timestamp `json:"-"`
        UpdatedAt          types.Timestamp `json:"-"`