-
Notifications
You must be signed in to change notification settings - Fork 23
/
types.go
42 lines (40 loc) · 1.07 KB
/
types.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
package usdtapi
type Tx struct {
// The hex-encoded hash of the transaction
Txid string
// The transaction fee in bitcoins
Fee string
// The Bitcoin address of the sender
Sendingaddress string
// A Bitcoin address used as reference (if any)
Referenceaddress string
// Whether the transaction involes an address in the wallet
Ismine bool
// The transaction version
Version uint32
// The transaction type as number
Type_int uint32
// The transaction type as string
Type string
// The token property id
Propertyid uint32
// Can be divisible
Divisible bool
// Amount of the transaction
Amount string
// Whether the transaction is valid
Valid bool
// The hash of the block that contains the transaction
Blockhash string
// The timestamp of the block that contains the transaction
Blocktime uint32
// The position of the transaction in the block
Positioninblock uint64
// The height of the block that contains the transaction
Block uint64
// The number of transaction confirmations
Confirmations uint64
}
type balanceResult struct {
Balance, Reserved string
}