define transaction

This commit is contained in:
Carlosokumu 2024-10-17 12:49:51 +03:00
parent d181c34946
commit 4a599b902d
Signed by: carlos
GPG Key ID: 7BD6BC8160A5C953

View File

@ -5,6 +5,13 @@ import (
"time" "time"
) )
type Transaction struct {
CreatedAt time.Time `json:"createdAt"`
Status string `json:"status"`
TransferValue json.Number `json:"transferValue"`
TxHash string `json:"txHash"`
TxType string `json:"txType"`
}
type TrackStatusResponse struct { type TrackStatusResponse struct {
Ok bool `json:"ok"` Ok bool `json:"ok"`