fix: parse collectible ownership response from v3 alchemy endpoint properly
Fixes #11832
This commit is contained in:
parent
ebadfb3e7b
commit
e30cba4303
|
@ -16,8 +16,8 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
type TokenBalance struct {
|
type TokenBalance struct {
|
||||||
TokenID *bigint.HexBigInt `json:"tokenId"`
|
TokenID *bigint.BigInt `json:"tokenId"`
|
||||||
Balance *bigint.BigInt `json:"balance"`
|
Balance *bigint.BigInt `json:"balance"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type CollectibleOwner struct {
|
type CollectibleOwner struct {
|
||||||
|
@ -26,7 +26,7 @@ type CollectibleOwner struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type CollectibleContractOwnership struct {
|
type CollectibleContractOwnership struct {
|
||||||
Owners []CollectibleOwner `json:"ownerAddresses"`
|
Owners []CollectibleOwner `json:"owners"`
|
||||||
PageKey string `json:"pageKey"`
|
PageKey string `json:"pageKey"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue