Discussions

Ask a Question

Is it impossible to get earlier price data?

Hi, I get price data using a request POST <https://rpc.ankr.com/multichain/79258ce7f7ee046decc3b5292a24eb4bf7c910d7e39b691384c7ce0cfb839a01> req: {"id":1,"jsonrpc":"2.0","method":"ankr_getTokenPriceHistory","params":{"blockchain":"eth","contractAddress":"0xB8c77482e45F1F44dE1745F52C74426C631bDD52", "interval":86400, "limit":1000}} In response, I receive data for at least 1684320971 to the current time. Is it possible to get earlier data than 1684320971?

ankr_getTokenTransfers

pageToken 参数的详解

The ankr_getCurrencies method return null

When i set the blockchain for base, zksync_era, polygon_zkevm. The http response return currencies is null pls help me. and btw, does have a plan to support linea chain? { "jsonrpc": "2.0", "id": 1, "result": { "currencies": null } }

ankr_getTokenPriceHistory returns empty

I am getting no results for many tokens that I tried to get the historical token price Request ``` { "jsonrpc": "2.0", "method": "ankr_getTokenPriceHistory", "params": { "blockchain": "eth", "contractAddress": "0x85F17Cf997934a597031b2E18a9aB6ebD4B9f6a4", "fromTimestamp": 1673164570 }, "id": 34234 } ``` REsponse: ``` { "jsonrpc": "2.0", "id": 34234, "result": { "quotes": [] } } ``` Kindly provide a solution for that

what is the way show me all transactions internal by my address?

i cant see any api to get all transactions internal by my address, let me know the way to get it.

Item asset tokenUrl is empty when i get api getNFTsByOwner

I sure Item asset tokenUrl have data link Opensea: <https://opensea.io/assets/matic/0xc8076f6e5505bdb47c3030748c65efb088ea0fd8/49> i use me TBA address ('0xdAb940e908321dBbAD39B1894b25e14aE88FA038') call api getNFTsByOwner. Then In data asset tokenUrl is empity

how can get lastest Token Transfers includes native token?

function nkr_getTokenTransfers get transactions lastest but dont includes native token

ankr_getNFTsByOwner returned wrong data

<https://snowtrace.io/token/0xbb4a6aa2629ed6f08c6e95d51f891fa2017f3f0a?a=0x779eeA27e778b43c751A10e442679A933faECfab> In the link above user address 0x779eeA27e778b43c751A10e442679A933faECfab has 0 (zero) NFT of contract 0xbb4a6aa2629ed6f08c6e95d51f891fa2017f3f0a But when I trying to run ankr_getNFTsByOwner function below I got a list NFT of contract 0xbb4a6aa2629ed6f08c6e95d51f891fa2017f3f0a => The correct returned should be emmpty curl --request POST --url '<https://rpc.ankr.com/multichain/79258ce7f7ee046decc3b5292a24eb4bf7c910d7e39b691384c7ce0cfb839a01/?ankr_getNFTsByOwner=>' --header 'accept: application/json' --header 'content-type: application/json' --data ' { "id": 1, "jsonrpc": "2.0", "method": "ankr_getNFTsByOwner", "params": { "blockchain": [ "avalanche" ], "filter": \[ { "0xbb4a6aa2629ed6f08c6e95d51f891fa2017f3f0a": \[] } ], "walletAddress": "0x779eeA27e778b43c751A10e442679A933faECfab" } } '

{ "jsonrpc": "2.0", "id": 1, "error": { "code": -32602, "message": "invalid params", "data": "Validation error: invalid request" } }

{ "jsonrpc": "2.0", "id": 1, "error": { "code": -32602, "message": "invalid params", "data": "Validation error: invalid request" } }

feature request: option to fetch native token balances only

it'd be nice to just be able to receive the native token balance for every chain, instead of that + every... poocoin the user has. like this: ```Text json const balances = await this.sdk.getAccountBalance({ walletAddress: address, blockchain: ['eth', 'bsc', 'polygon'], onlyNative: true }) ``` Would also be cool to be able to pass a filter like this: ``` const balances = await this.sdk.getAccountBalance({ walletAddress: address, blockchain: 'eth', tokens: ['sometokenaddress', 'anothertokenicareabout'] }) ``` Otherwise I'll have to use pagination to go over tokens I don't care about just to get the native token, I know I can just use the RPC but what's the point on having a SDK then cheers