20 lines
412 B
Go
20 lines
412 B
Go
package models
|
|
|
|
import (
|
|
"encoding/json"
|
|
"time"
|
|
)
|
|
|
|
type TrackStatusResponse struct {
|
|
Ok bool `json:"ok"`
|
|
Result struct {
|
|
Transaction struct {
|
|
CreatedAt time.Time `json:"createdAt"`
|
|
Status string `json:"status"`
|
|
TransferValue json.Number `json:"transferValue"`
|
|
TxHash string `json:"txHash"`
|
|
TxType string `json:"txType"`
|
|
}
|
|
} `json:"result"`
|
|
}
|