[Bug] type
field in AddressResponse
is number
, but was string
in soon-to-be-deprecated DepositAddressResponse
#263
Labels
bug
Something isn't working
Describe the bug
getDepositAddresses
is being deprecated and replaced by its paginated versiongetPaginatedAddresses
.Original
interface DepositAddressResponse
hadtype?: string
but the replacementinterface AddressResponse
hastype?: number
.The raw json has string values such as
Permanent
.API documentation shows correct datatype -
type?: string
.But the Response 200 object is
array of AddressResponse
instead of object which has 2 fields -addresses: AddressResponse[]
andpaging
...Deprecated API: https://developers.fireblocks.com/reference/get_vault-accounts-vaultaccountid-assetid-addresses
Replacement API: https://developers.fireblocks.com/reference/get_vault-accounts-vaultaccountid-assetid-addresses-paginated
To Reproduce
Steps to reproduce the behavior:
Expected behavior
interface AddressResponse
,type?: number
should be changed totype?: string
.Version:
fireblocks-sdk
version: 5.21.0The text was updated successfully, but these errors were encountered: