Skip to main content

bb_getTickersList RPC Method

Returns a list of available currency rate tickers (secondary currencies) for the specified date, along with an actual data timestamp.

Updated on
Nov 14, 2024

bb_getTickersList RPC Method

Please note that this RPC method requires the Base Blockbook JSON-RPC add-on enabled on your QuickNode endpoint.

Parameters

timestamp
integer
REQUIRED
Specify a Unix timestamp to retrieve available tickers for that specific time

Returns

result
object
A result object with the following field:
ts
integer
The Unix timestamp (in seconds) indicating the time at which the list of available currencies was queried
available_currencies
array
An array containing the currency codes of all the available currencies on the Blockbook service. Some of the available currencies are AED, EUR, GBP, USD, etc
Request
1
curl --location 'https://docs-demo.base-mainnet.quiknode.pro/' \
2
--header 'Content-Type: application/json' \
3
--data '{
4
"method": "bb_getTickersList",
5
"params": [
6
{
7
"timestamp": 1574346615
8
}
9
],
10
"id": 1,
11
"jsonrpc": "2.0"
12
}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free