EXPERIMENTAL_changes-{data_changes} RPC Method
Parâmetros
changes_type
cadeia de caracteres
Carregando...
account_ids
matriz
Carregando...
key_prefix_base64
cadeia de caracteres
Carregando...
finality
cadeia de caracteres
Carregando...
block_id
integer/string
Carregando...
Devoluções
block_hash
Carregando...
changes
Carregando...
cause
Carregando...
tipo
Carregando...
tx_hash/receipt_hash
Carregando...
tipo
Carregando...
change
Carregando...
account_ids
Carregando...
key_base64
Carregando...
value_base64
Carregando...
Pedido
1curl https://docs-demo.near-mainnet.quiknode.pro/ \2--request POST \3--header "Content-Type: application/json" \4--data '{"method": "EXPERIMENTAL_changes","params": {"changes_type": "data_changes", "account_ids": ["prophet.poolv1.near", "kiln.poolv1.near"], "key_prefix_base64": "", "block_id": 80712125},"id":1,"jsonrpc":"2.0"}'
1curl https://docs-demo.near-mainnet.quiknode.pro/ \2--request POST \3--header "Content-Type: application/json" \4--data '{"method": "EXPERIMENTAL_changes","params": {"changes_type": "data_changes", "account_ids": ["prophet.poolv1.near", "kiln.poolv1.near"], "key_prefix_base64": "", "block_id": 80712125},"id":1,"jsonrpc":"2.0"}'
1var myHeaders = new Headers();2myHeaders.acrescentar("Content-Type", "application/json");34var raw = JSON.stringify({5"method": "EXPERIMENTAL_changes",6"params": {7"changes_type": "data_changes",8"account_ids": [9"prophet.poolv1.near",10"kiln.poolv1.near"11],12"key_prefix_base64": "",13"block_id": 8071212514},15"id": 1,16"jsonrpc": "2.0"17});1819var requestOptions = {20método: 'POST',21cabeçalhos: myHeaders,22body: raw,23redirect: 'follow'24};2526fetch("https://docs-demo.near-mainnet.quiknode.pro/", requestOptions)27.then(response => response.text())28.then(result => console.log(result))29.catch(error => console.log('error', error));
1var myHeaders = new Headers();2myHeaders.acrescentar("Content-Type", "application/json");34var raw = JSON.stringify({5"method": "EXPERIMENTAL_changes",6"params": {7"changes_type": "data_changes",8"account_ids": [9"prophet.poolv1.near",10"kiln.poolv1.near"11],12"key_prefix_base64": "",13"block_id": 8071212514},15"id": 1,16"jsonrpc": "2.0"17});1819var requestOptions = {20método: 'POST',21cabeçalhos: myHeaders,22body: raw,23redirect: 'follow'24};2526fetch("https://docs-demo.near-mainnet.quiknode.pro/", requestOptions)27.then(response => response.text())28.then(result => console.log(result))29.catch(error => console.log('error', error));
1importar pedidos2import json34url = "https://docs-demo.near-mainnet.quiknode.pro/"56carga útil = json.dumps({7"method": "EXPERIMENTAL_changes",8"params": {9"changes_type": "data_changes",10"account_ids": [11"prophet.poolv1.near",12"kiln.poolv1.near"13],14"key_prefix_base64": "",15"block_id": 8071212516},17"id": 1,18"jsonrpc": "2.0"19})20cabeçalhos = {21'Content-Type': 'application/json'22}2324resposta = pedidos.pedido("POST", url, headers=headers, dados=carga útil)2526imprimir(resposta.texto)27
1importar pedidos2import json34url = "https://docs-demo.near-mainnet.quiknode.pro/"56carga útil = json.dumps({7"method": "EXPERIMENTAL_changes",8"params": {9"changes_type": "data_changes",10"account_ids": [11"prophet.poolv1.near",12"kiln.poolv1.near"13],14"key_prefix_base64": "",15"block_id": 8071212516},17"id": 1,18"jsonrpc": "2.0"19})20cabeçalhos = {21'Content-Type': 'application/json'22}2324resposta = pedidos.pedido("POST", url, headers=headers, dados=carga útil)2526imprimir(resposta.texto)27
1exigir "uri"2require "json"3necessita de "net/http"45url = URI("https://docs-demo.near-mainnet.quiknode.pro/")67https = Net::HTTP.new(url.host, url.port);8https.use_ssl = true9pedido = Líquido::HTTP::POST.novo(url)10pedido["Content-Type"] = "application/json"11request.body = JSON.dump({12"method": "EXPERIMENTAL_changes",13"params": {14"changes_type": "data_changes",15"account_ids": [16"prophet.poolv1.near",17"kiln.poolv1.near"18],19"key_prefix_base64": "",20"block_id": 8071212521},22"id": 1,23"jsonrpc": "2.0"24})2526resposta = https.pedido(pedido)27insere a resposta.read_body28
1exigir "uri"2require "json"3necessita de "net/http"45url = URI("https://docs-demo.near-mainnet.quiknode.pro/")67https = Net::HTTP.new(url.host, url.port);8https.use_ssl = true9pedido = Líquido::HTTP::POST.novo(url)10pedido["Content-Type"] = "application/json"11request.body = JSON.dump({12"method": "EXPERIMENTAL_changes",13"params": {14"changes_type": "data_changes",15"account_ids": [16"prophet.poolv1.near",17"kiln.poolv1.near"18],19"key_prefix_base64": "",20"block_id": 8071212521},22"id": 1,23"jsonrpc": "2.0"24})2526resposta = https.pedido(pedido)27insere a resposta.read_body28
Ainda não tem uma conta?
Crieendpoint seuendpoint Quicknode endpoint segundos e comece a desenvolver
Comece gratuitamente