bb_getTickersList RPC Method - Blockbook
Please note that this RPC method requires the Litecoin Blockbook enabled on your Quicknode endpoint.
Parameter
Objekt
Objekt
ERFORDERLICH
Wird geladen...
Zeitstempel
Ganzzahl
ERFORDERLICH
Wird geladen...
Token
Zeichenkette
Wird geladen...
Rücksendungen
Ergebnis
Objekt
Wird geladen...
ts
Ganzzahl
Wird geladen...
verfügbare_Währungen
Array
Wird geladen...
Anfrage
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 Funktion main() {9const response = await fetch('https://docs-demo.ltc-mainnet.quiknode.pro/', {10Methode: 'POST',11headers: {'Content-Type': 'application/json'},12Körper: JSON.stringify(body)13})14const Daten = await Antwort.json()15Konsole.Protokoll(Daten)16}1718Hauptseite()
1const body = {2jsonrpc: '2.0',3method: 'bb_getTickersList',4params: [{"timestamp":1574346615}],5id: 16}78async Funktion main() {9const response = await fetch('https://docs-demo.ltc-mainnet.quiknode.pro/', {10Methode: 'POST',11headers: {'Content-Type': 'application/json'},12Körper: JSON.stringify(body)13})14const Daten = await Antwort.json()15Konsole.Protokoll(Daten)16}1718Hauptseite()
1import Anfragen2import json34url = "https://docs-demo.ltc-mainnet.quiknode.pro/"56Nutzlast = json.dumps({7„jsonrpc“: "2.0",8"method": "bb_getTickersList",9„params“: [10{11"timestamp": 157434661512}13],14„id“: 115})16Kopfzeilen = {17„Content-Type“: 'application/json'18}1920Antwort = Anfragen.Anfrage("POST", url, headers=headers, Daten=Nutzdaten)2122Drucken(Antwort.text)
1import Anfragen2import json34url = "https://docs-demo.ltc-mainnet.quiknode.pro/"56Nutzlast = json.dumps({7„jsonrpc“: "2.0",8"method": "bb_getTickersList",9„params“: [10{11"timestamp": 157434661512}13],14„id“: 115})16Kopfzeilen = {17„Content-Type“: 'application/json'18}1920Antwort = Anfragen.Anfrage("POST", url, headers=headers, Daten=Nutzdaten)2122Drucken(Antwort.text)
1require „uri“2require "json"3require „net/http“45uri = URI("https://docs-demo.ltc-mainnet.quiknode.pro/")67Nutzlast = {8jsonrpc: „2.0“,9id: 1,10method: "bb_getTickersList",11params: [{"timestamp":1574346615}]12}1314Anfrage = Netto::HTTP::POST.new(URI)15Anfrage[„Content-Type“] = „application/json“16Anfrage.Hauptteil = JSON.generate(Nutzdaten)1718Antwort = Netto::HTTP.start(uri.host, uri.port, use_ssl: true) do |http|19http.Anfrage(Anfrage)20Ende2122gibt die Antwort aus.Hauptteil
1require „uri“2require "json"3require „net/http“45uri = URI("https://docs-demo.ltc-mainnet.quiknode.pro/")67Nutzlast = {8jsonrpc: „2.0“,9id: 1,10method: "bb_getTickersList",11params: [{"timestamp":1574346615}]12}1314Anfrage = Netto::HTTP::POST.new(URI)15Anfrage[„Content-Type“] = „application/json“16Anfrage.Hauptteil = JSON.generate(Nutzdaten)1718Antwort = Netto::HTTP.start(uri.host, uri.port, use_ssl: true) do |http|19http.Anfrage(Anfrage)20Ende2122gibt die Antwort aus.Hauptteil
Hast du noch kein Konto?
Erstellen Sie Ihrenendpoint Sekundenschnelle und legen Sie los
Kostenlos loslegen