eth_call RPC Method
Parameter
Transaktion
Objekt
Wird geladen...
aus
Zeichenkette
Wird geladen...
zu
Zeichenkette
ERFORDERLICH
Wird geladen...
Gas
Ganzzahl
Wird geladen...
Benzinpreis
Ganzzahl
Wird geladen...
Wert
Ganzzahl
Wird geladen...
Daten
Zeichenkette
Wird geladen...
Blocknummer/Tag
Zeichenkette
Wird geladen...
NOTE:
The TRON blockchain only supports the usage of the tag latest for this method
Rücksendungen
Daten
Wird geladen...
Anfrage
1curl https://docs-demo.tron-mainnet.quiknode.pro/jsonrpc \2-X POST \3-H "Content-Type: application/json" \4--data '{"method":"eth_call","params":[{"to":"0x41a614f803b6fd780986a42c78ec9c7f77e6ded13c","data":"0x70a082310000000000000000000000415a67fa7cc56bd6d043a98e17d329c1dc9e14753f"}, "latest"],"id":1,"jsonrpc":"2.0"}'
1curl https://docs-demo.tron-mainnet.quiknode.pro/jsonrpc \2-X POST \3-H "Content-Type: application/json" \4--data '{"method":"eth_call","params":[{"to":"0x41a614f803b6fd780986a42c78ec9c7f77e6ded13c","data":"0x70a082310000000000000000000000415a67fa7cc56bd6d043a98e17d329c1dc9e14753f"}, "latest"],"id":1,"jsonrpc":"2.0"}'
1erfordern 'eth'23client = Eth::Client.create 'https://docs-demo.tron-mainnet.quiknode.pro/jsonrpc'4Nutzlast = {5„jsonrpc“: "2.0",6"method": "eth_call",7"params": [{"to":"0x41a614f803b6fd780986a42c78ec9c7f77e6ded13c","data":"0x70a082310000000000000000000000415a67fa7cc56bd6d043a98e17d329c1dc9e14753f"}, "latest"],8„id“: „1“9}1011Antwort = Client.senden(Nutzdaten.to_json)12gibt die Antwort aus
1erfordern 'eth'23client = Eth::Client.create 'https://docs-demo.tron-mainnet.quiknode.pro/jsonrpc'4Nutzlast = {5„jsonrpc“: "2.0",6"method": "eth_call",7"params": [{"to":"0x41a614f803b6fd780986a42c78ec9c7f77e6ded13c","data":"0x70a082310000000000000000000000415a67fa7cc56bd6d043a98e17d329c1dc9e14753f"}, "latest"],8„id“: „1“9}1011Antwort = Client.senden(Nutzdaten.to_json)12gibt die Antwort aus
1var myHeaders = new Headers();2myHeaders.anhängen("Content-Type", "application/json");34var raw = JSON.stringify({5"method": "eth_call",6„params“: [7{8"to": "0x41a614f803b6fd780986a42c78ec9c7f77e6ded13c",9"data": "0x70a082310000000000000000000000415a67fa7cc56bd6d043a98e17d329c1dc9e14753f"10},11„aktuell“12],13„id“: 1,14„jsonrpc“: "2.0"15});1617var requestOptions = {18Methode: 'POST',19Überschriften: myHeaders,20Körper: raw,21Weiterleitung: 'follow'22};2324fetch("https://docs-demo.tron-mainnet.quiknode.pro/jsonrpc", requestOptions)25.dann(Antwort => Antwort.text())26.dann(Ergebnis => Konsole.log(Ergebnis))27.catch(error => console.log('error', error));
1var myHeaders = new Headers();2myHeaders.anhängen("Content-Type", "application/json");34var raw = JSON.stringify({5"method": "eth_call",6„params“: [7{8"to": "0x41a614f803b6fd780986a42c78ec9c7f77e6ded13c",9"data": "0x70a082310000000000000000000000415a67fa7cc56bd6d043a98e17d329c1dc9e14753f"10},11„aktuell“12],13„id“: 1,14„jsonrpc“: "2.0"15});1617var requestOptions = {18Methode: 'POST',19Überschriften: myHeaders,20Körper: raw,21Weiterleitung: 'follow'22};2324fetch("https://docs-demo.tron-mainnet.quiknode.pro/jsonrpc", requestOptions)25.dann(Antwort => Antwort.text())26.dann(Ergebnis => Konsole.log(Ergebnis))27.catch(error => console.log('error', error));
1import Anfragen2import json34url = "https://docs-demo.tron-mainnet.quiknode.pro/jsonrpc"56Nutzlast = json.dumps({7"method": "eth_call",8„params“: [9{10"to": "0x41a614f803b6fd780986a42c78ec9c7f77e6ded13c",11"data": "0x70a082310000000000000000000000415a67fa7cc56bd6d043a98e17d329c1dc9e14753f"12},13„aktuell“14],15„id“: 1,16„jsonrpc“: "2.0"17})18Überschriften = {19„Content-Type“: 'application/json'20}2122Antwort = Anfragen.Anfrage("POST", url, headers=headers, Daten=Nutzdaten)2324Drucken(Antwort.text)25
1import Anfragen2import json34url = "https://docs-demo.tron-mainnet.quiknode.pro/jsonrpc"56Nutzlast = json.dumps({7"method": "eth_call",8„params“: [9{10"to": "0x41a614f803b6fd780986a42c78ec9c7f77e6ded13c",11"data": "0x70a082310000000000000000000000415a67fa7cc56bd6d043a98e17d329c1dc9e14753f"12},13„aktuell“14],15„id“: 1,16„jsonrpc“: "2.0"17})18Überschriften = {19„Content-Type“: 'application/json'20}2122Antwort = Anfragen.Anfrage("POST", url, headers=headers, Daten=Nutzdaten)2324Drucken(Antwort.text)25
1require "uri"2require "json"3require „net/http“45url = URI("https://docs-demo.tron-mainnet.quiknode.pro/jsonrpc")67https = Net::HTTP.new(url.host, URL.Port)8https.use_ssl = true910Anfrage = Netto::HTTP::POST.new(URL)11Anfrage[„Content-Type“] = „application/json“12Anfrage.Inhalt = JSON.dump({13"method": "eth_call",14„params“: [15{16"to": "0x41a614f803b6fd780986a42c78ec9c7f77e6ded13c",17"data": "0x70a082310000000000000000000000415a67fa7cc56bd6d043a98e17d329c1dc9e14753f"18},19„aktuell“20],21„id“: 1,22„jsonrpc“: "2.0"23})2425Antwort = https.Anfrage(Anfrage)26gibt die Antwort aus.read_body27
1require "uri"2require "json"3require „net/http“45url = URI("https://docs-demo.tron-mainnet.quiknode.pro/jsonrpc")67https = Net::HTTP.new(url.host, URL.Port)8https.use_ssl = true910Anfrage = Netto::HTTP::POST.new(URL)11Anfrage[„Content-Type“] = „application/json“12Anfrage.Inhalt = JSON.dump({13"method": "eth_call",14„params“: [15{16"to": "0x41a614f803b6fd780986a42c78ec9c7f77e6ded13c",17"data": "0x70a082310000000000000000000000415a67fa7cc56bd6d043a98e17d329c1dc9e14753f"18},19„aktuell“20],21„id“: 1,22„jsonrpc“: "2.0"23})2425Antwort = https.Anfrage(Anfrage)26gibt die Antwort aus.read_body27
Haben Sie noch kein Konto?
Erstellen Sie Ihren Quicknode-Endpunkt in Sekundenschnelle und legen Sie los
Kostenlos loslegen