bb_getTickersList RPC Method - Blockbook
Please note that this RPC method requires the Litecoin Blockbook add-on enabled on your Quicknode endpoint.
Parameters
object
object
REQUIRED
Loading...
timestamp
integer
REQUIRED
Loading...
token
string
Loading...
Returns
result
object
Loading...
ts
integer
Loading...
available_currencies
array
Loading...
Request
1curl -X POST "https://docs-demo.ltc-mainnet.quiknode.pro/" \2-H "Content-Type: application/json" \3-d '{4"jsonrpc": "2.0",5"method": "bb_getTickersList",6"params": [7{8"timestamp": 15743466159}10],11"id": 112}'
1curl -X POST "https://docs-demo.ltc-mainnet.quiknode.pro/" \2-H "Content-Type: application/json" \3-d '{4"jsonrpc": "2.0",5"method": "bb_getTickersList",6"params": [7{8"timestamp": 15743466159}10],11"id": 112}'
1const body = {2jsonrpc: '2.0',3method: 'bb_getTickersList',4params: [{"timestamp":1574346615}],5id: 16}78async function main() {9const response = await fetch('https://docs-demo.ltc-mainnet.quiknode.pro/', {10method: 'POST',11headers: {'Content-Type': 'application/json'},12body: JSON.stringify(body)13})14const data = await response.json()15console.log(data)16}1718main()
1const body = {2jsonrpc: '2.0',3method: 'bb_getTickersList',4params: [{"timestamp":1574346615}],5id: 16}78async function main() {9const response = await fetch('https://docs-demo.ltc-mainnet.quiknode.pro/', {10method: 'POST',11headers: {'Content-Type': 'application/json'},12body: JSON.stringify(body)13})14const data = await response.json()15console.log(data)16}1718main()
1import requests2import json34url = "https://docs-demo.ltc-mainnet.quiknode.pro/"56payload = json.dumps({7"jsonrpc": "2.0",8"method": "bb_getTickersList",9"params": [10{11"timestamp": 157434661512}13],14"id": 115})16headers = {17'Content-Type': 'application/json'18}1920response = requests.request("POST", url, headers=headers, data=payload)2122print(response.text)
1import requests2import json34url = "https://docs-demo.ltc-mainnet.quiknode.pro/"56payload = json.dumps({7"jsonrpc": "2.0",8"method": "bb_getTickersList",9"params": [10{11"timestamp": 157434661512}13],14"id": 115})16headers = {17'Content-Type': 'application/json'18}1920response = requests.request("POST", url, headers=headers, data=payload)2122print(response.text)
1require "uri"2require "json"3require "net/http"45uri = URI("https://docs-demo.ltc-mainnet.quiknode.pro/")67payload = {8jsonrpc: "2.0",9id: 1,10method: "bb_getTickersList",11params: [{"timestamp":1574346615}]12}1314request = Net::HTTP::Post.new(uri)15request["Content-Type"] = "application/json"16request.body = JSON.generate(payload)1718response = Net::HTTP.start(uri.host, uri.port, use_ssl: true) do |http|19http.request(request)20end2122puts response.body
1require "uri"2require "json"3require "net/http"45uri = URI("https://docs-demo.ltc-mainnet.quiknode.pro/")67payload = {8jsonrpc: "2.0",9id: 1,10method: "bb_getTickersList",11params: [{"timestamp":1574346615}]12}1314request = Net::HTTP::Post.new(uri)15request["Content-Type"] = "application/json"16request.body = JSON.generate(payload)1718response = Net::HTTP.start(uri.host, uri.port, use_ssl: true) do |http|19http.request(request)20end2122puts response.body
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free