Skip to content

Commit 7057a0c

Browse files
committed
fix: modify TokenDecimal and TokenValue fields to use int
1 parent 07a1d97 commit 7057a0c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

response.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@ type ERC1155Transfer struct {
129129
TokenID *BigInt `json:"tokenID"`
130130
TokenName string `json:"tokenName"`
131131
TokenSymbol string `json:"tokenSymbol"`
132-
TokenDecimal uint8 `json:"tokenDecimal,string"`
133-
TokenValue uint8 `json:"tokenValue,string"`
132+
TokenDecimal int `json:"tokenDecimal,string"`
133+
TokenValue int `json:"tokenValue,string"`
134134
TransactionIndex int `json:"transactionIndex,string"`
135135
Gas int `json:"gas,string"`
136136
GasPrice *BigInt `json:"gasPrice"`

0 commit comments

Comments
 (0)