mirror of
https://github.com/status-im/status-go.git
synced 2025-02-22 19:58:29 +00:00
fix: parse collectible ownership response from v3 alchemy endpoint properly
Fixes #11832
This commit is contained in:
parent
ebadfb3e7b
commit
e30cba4303
6
services/wallet/thirdparty/alchemy/types.go
vendored
6
services/wallet/thirdparty/alchemy/types.go
vendored
@ -16,8 +16,8 @@ import (
|
||||
)
|
||||
|
||||
type TokenBalance struct {
|
||||
TokenID *bigint.HexBigInt `json:"tokenId"`
|
||||
Balance *bigint.BigInt `json:"balance"`
|
||||
TokenID *bigint.BigInt `json:"tokenId"`
|
||||
Balance *bigint.BigInt `json:"balance"`
|
||||
}
|
||||
|
||||
type CollectibleOwner struct {
|
||||
@ -26,7 +26,7 @@ type CollectibleOwner struct {
|
||||
}
|
||||
|
||||
type CollectibleContractOwnership struct {
|
||||
Owners []CollectibleOwner `json:"ownerAddresses"`
|
||||
Owners []CollectibleOwner `json:"owners"`
|
||||
PageKey string `json:"pageKey"`
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user