vspd/responses.go
2020-05-14 13:54:42 +01:00

24 lines
554 B
Go

package main
type pubKeyResponse struct {
Timestamp int64 `json:"timestamp"`
PubKey []byte `json:"pubKey"`
}
type feeResponse struct {
Timestamp int64 `json:"timestamp"`
Fee float64 `json:"fee"`
}
type feeAddressResponse struct {
Timestamp int64 `json:"timestamp"`
TicketHash string `json:"ticketHash"`
CommitmentSignature string `json:"commitmentSignature"`
FeeAddress string `json:"feeAddress"`
}
type payFeeResponse struct {
Timestamp int64 `json:"timestamp"`
TxHash string `json:"txHash"`
}