Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [rpc]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
103 views

Stake snapshot applicable to a given cycle (Oxford2)

I am trying to determine the block level of the stake snapshot applicable to a given cycle. The documentation states: Stake snapshots are taken (and stored) every BLOCKS_PER_STAKE_SNAPSHOT levels. ...
LaBoulange's user avatar
1 vote
0 answers
43 views

Cannot run high number of parallel RPC queries against Octez v19.1

I run a program that needs to constantly run a large number of parallel queries against a private archive Octez node. Ever since I upgraded my node to v19.1 for the latest protocol upgrade, the ...
tezette's user avatar
  • 183
1 vote
0 answers
14 views

Counter not yet reached for contract

I am trying to deploy a smart contract using pytezos and I run into a counter error no matter the RPC node that I use (I have used over 10 nodes by now). I discussed the error with the pytezos people ...
Florin's user avatar
  • 21
0 votes
1 answer
18 views

RPC call - getting "No service found at this URL"

How far back can an rpc call go when wanting to retrieve block information? This call returns a block rpc get /chains/main/blocks/4506511 this also returns a block rpc get /chains/main/blocks/4506510 ...
tez's user avatar
  • 1
0 votes
0 answers
17 views

Octez 17.3 compilation error

This compilation error appears everytime I run "opam install octez". I have no problem installing previous versions but there seems to be issues with installing octez-node 17.3.
Jiayu's user avatar
  • 1
0 votes
1 answer
62 views

List of public arquive RPC nodes

Is there a list of active arquive RPC nodes running on the Tezos network? I'd like to make a request like: https://<node>/chains/main/blocks/3000000 But I wasn't able to find a public node with ...
ktorn's user avatar
  • 447
0 votes
2 answers
33 views

How can I query a token balance for a specific account through RPC?

I currently retrieve the native XTZ balance through the /<block_id>/context/contracts/<contract_id>/balance endpoint (documented here https://tezos.gitlab.io/active/rpc.html#get-block-id-...
Terry's user avatar
  • 1
1 vote
1 answer
21 views

How to get the remaining time until next cycle shift?

In TzStats block explorer, there is a gauge that shows how much time is left until next Tezos cycle shift. Is there an RPC endpoint that retrieves this information? Or is this info available in any of ...
Luiz Milfont's user avatar
1 vote
2 answers
30 views

Incoherent response from SmartPy public node

I came across a weird situation when checking blocks through the RPC of the ghostnet SmartPy public node. A block that should not exist is returned by the RPC. On Ghostnet, the block at level 1960484 ...
N. RICHARD's user avatar
1 vote
1 answer
24 views

how do you find the action of a big map diff from RPC JSON?

on tzkt, the bigmap diffs have an action field which takes values like remove_key, add_key, update_key, etc. the lazy_storage_diff field in RPC JSON doesn't seem to have these same values, instead it ...
loucidity's user avatar
  • 113
2 votes
1 answer
35 views

Pytezos: structuring call for FA2

Can you guys help me correctly structure a call to the update_operators in an FA2? I tried everything single combination I can think of, and it still doesn't work It says the structure should be like ...
João Gonçalo Morais's user avatar
2 votes
1 answer
44 views

Look up an operaton by its Operation.hash

Is there a way to look up an operaton by its Operation.hash to see if it was applied? I need to run this after a program crash to see if an operation was applied. I got the response that this is part ...
user avatar
0 votes
1 answer
33 views

Customize RPC Provider calling on-chain view

Is there any abstraction to call contract on-chain views at a given block level? And regardless of that, if I want to customize the rpc provider before calling the view, how can I do that? Can someone ...
user avatar
1 vote
1 answer
48 views

Getting "metadata" "too large" from the archive node

We're running a node instance version v15.0, with --history-mode=archive and --metadata-size-limit=unlimited" options. Yet, when getting a block from late March 2022 we're getting "too large&...
Petar Mitrovic's user avatar
1 vote
2 answers
99 views

Mempool streaming

How would you go about pulling live mempool data like https://tzflow.com/? I have a private node and I've looked at the /chains/main/mempool/pending_operations endpoint, but I'm not sure how to stream ...
bhaas's user avatar
  • 13
0 votes
1 answer
91 views

How to interact with tezos blockchain by using python?

I want to create a python script in which I need to create some functions like 1-GetTransactionByHash 2-GetBlockByHash 3-GetBalanceOfWallet I want to ask that how could I do it by using python in ...
Shahbaz Ali's user avatar
0 votes
1 answer
29 views

How to originate a contract with tzgo - invalid_primitive_namespace error

I'm hitting an issue trying to originate a contract using tzgo, where by the RPC request is getting an invalid_primitive_namespace error. I’m compiling my ligo contract to json, which loads fine with ...
Michael Dales's user avatar
1 vote
1 answer
358 views

What's the meaning of the error proto.014-PtKathma.tez.subtraction_underflow?

I have a question about the RPC error proto.014-PtKathma.tez.subtraction_underflow sent by the node when I tried to generate a NFT on the Tezos blockchain with pytezos. The full error: Received ...
Adrien Boulay's user avatar
2 votes
2 answers
95 views

/run_script_view gives "RpcException: HTTP/1.1 404 Not Found" on ghostnet

So I am trying to run a view operation with a post method on ghostnet: https://rpc.ghostnet.teztnets.xyz/chains/main/blocks/head/helpers/scripts/run_script_view/ with this data: {“contract”:“...
victor's user avatar
  • 23
1 vote
1 answer
74 views

Gas Exhausted error

I am trying to use pytezos to perform a transaction on Tezos testnet. I am receiving a 'Gas Exhausted' error although it is suppose to autofill. Python code: native_key = await Key.from_mnemonic(words,...
thotheolh's user avatar
  • 113
0 votes
0 answers
23 views

load balancing between rolling and archive nodes

A possible deployment model for a Tezos RPC service is to distinguish requests between: requests that can be answered by a rolling node (injection, head block queries) historical requests that ...
nicolasochem's user avatar
1 vote
1 answer
72 views

v13.0 starts the node. What is the parameter of RPC [duplicate]

Upgrade to v13.0 startup node why RPC can not work normally; my parameters: start --rpc-port 8732 --rpc-addr 0.0.0.0:8732 --allow-all-rpc 0.0.0.0:8732 ubuntu@VM-0-16-ubuntu:/data/xtz$ ./mainnet.sh ...
hb Y's user avatar
  • 11
0 votes
1 answer
141 views

Jakarta testnet RPC does not work

I'm trying to run Jakarta testnet node locally. Node starts and syncs, but RPC does not work. docker-compose.yaml I'm using: version: "2" services: node: image: tezos/tezos:v13.0 ...
fr3ak's user avatar
  • 101
0 votes
1 answer
27 views

Does a rolling node have the information to serve RPC queries without relying on other, full nodes?

Does a rolling node have the information required to serve RPC queries without relying on other, full nodes? I am not interested past balances or contract states, but I do want to query the current ...
PEC's user avatar
  • 139
2 votes
1 answer
32 views

grpc call consumption in smartpy

we have done a grpc call consumption in python. now for our smart contract wanted to consume one grpc call. is it possible in smartpy. Unable to found any example till date
Kamran Shahid's user avatar
0 votes
2 answers
93 views

Any Tezos RPC alternatives suggestions

The open tezos docs suggest using RPC URL: "https://florencenet.smartpy.io/". It does not work. What alternatives RPC URLs do you use. It seems that when you use the mainnet RPC URL - things ...
icp's user avatar
  • 5
0 votes
2 answers
206 views

ACL filtering,can't send transaction

I sent the transaction report after upgrading from 10.0~ RC3 to V11.0.0,Now I can't send a transaction,what should i do start node: ./tezos-docker-manager.sh start --rpc-port 8732 ubuntu@VM-0-13-...
hb Y's user avatar
  • 11
0 votes
1 answer
86 views

How to transfer between two tz1 accounts using Taquito RPC functions such as forgeOperations and injectOperation?

I want to use taquito to successfully transfer the amount between two tz1 accounts without using the transfer function of contract API or wallet API. Instead, I want to use taquito RPC functions such ...
Vijay Sugali's user avatar
0 votes
1 answer
69 views

How to know the `branch` value while forging an operation using Taquito?

0 I want to use forgeOperation function provided by '@taquito/rpc' to make a transfer between two tz1 accounts. I can estimate gasLimit, storageLimit and suggestedFee using '@taquito/taquito' estimate ...
Vijay Sugali's user avatar
1 vote
1 answer
257 views

401 Status code while dry-run operation

With hangzhou2net update we've faced weird behaviour regarding acl rpc policy. Request to chains/main/blocks/head/helpers/scripts/run_operation/ fails with 401 status code. We are hosting our node ...
Andrey Volkov's user avatar
1 vote
2 answers
62 views

Too many few connections (0) on personnal node

Sorry, i'm kind of a noob here. I managed to get my personnal rpc node running on local network and it was fine for few weeks. I always had low connections but it worked (only 5 connections but it ...
Pezou's user avatar
  • 11
2 votes
1 answer
182 views

baking_rights rpc return "401 Unauthorized"

I setup an archive node, the node already fully synced, and I call baking_rights rpc, but it returns "401 Unauthorized". curl -v 'http://localhost:8732/chains/main/blocks/1/helpers/...
Macondo's user avatar
  • 23
2 votes
1 answer
356 views

Configuring own node on Temple wallet: `Invalid RPC: Cannot get chain id`

I've set up a full mainnet node on a VPS. The RPC port of the node (8733) is not exposed to the Internet, but I can access it from my local machine via an SSH port forward: ssh remote-note -L8733:...
ktorn's user avatar
  • 447
0 votes
2 answers
99 views

How can I create Tezos Testnet in tezos-node

How can I create Tezos Testnet in tezos-node or how can I create private node in tezos-node. can you teach me? I need help!
Roger's user avatar
  • 3
0 votes
1 answer
39 views

The error is addr and port conflict with endpoint

I run to tezos-node run --rpc-addr 127.0.0.1:8732 and my tezos-client is connect 127.0.0.1:8732 , so i input in tezos-client to tezos-client --addr 127.0.0.1 --port 8732 -l transfer 100 from ...
Roger's user avatar
  • 3
0 votes
0 answers
154 views

RPC Error: "Missing Authentication Token"

I run tezos-client rpc list , the error say "message": "Missing Authentication Token" , What can i do fix error! I need help
Roger's user avatar
  • 3
0 votes
1 answer
82 views

How can I tell if a WalletOperation failed in Taquito?

How can I tell if a WalletOperation failed in Taquito? After I dispatch a WalletOperation, I can await the results using the confirmation method like so: const confirmation = await op.confirmation() ...
emchristiansen's user avatar
0 votes
2 answers
68 views

RPC specification

Where can I find details about tezos RPC specifications? For example, what are the parameters needed for originate to create new smart contract? I want to write a custom node so I'll need this ...
simple_user's user avatar
1 vote
1 answer
80 views

Is it possible to get all big_map keys using node RPC?

Granada changelog mentions: Added a new RPC to retrieve several Big Map values at once: /chains/<chain_id>/blocks/<block_id>/context/big_maps/<big_map_id>?offset=<int>&...
Ivan Gromakovskii's user avatar
0 votes
1 answer
52 views

How can I get instant updates about missed bakes and endorsements using RPC API?

I'm new to Tezos and I'm searching for a couple of dev tips for my project. I'm creating a scanner which is able to detect missed bakes and endorsements for a specific delegate, which is a kind of ...
Omar Hayam's user avatar
0 votes
1 answer
66 views

If you query storage or big map at block X does it include changes from operations of block X?

The RPC (currently delphinet), allows you to query a contract's storage and big map key at a particular block id. GET ../<block_id>/context/big_maps/<big_map_id>/<script_expr> GET ....
MCH's user avatar
  • 690
1 vote
1 answer
114 views

how to get content of message in shielded transactions?

I have a message send with tezos-client like: tezos-client sapling forge transaction 10 from alice to zet13Alicexxxxxx using sap --message 'test' How to get content of send message in shielded ...
Qatrach's user avatar
  • 31
0 votes
2 answers
154 views

What is script_expr?

The RPC for querying big maps mentions script_expr, but no where else in the Tezos Developer Documentation is it mentioned. What is script_expr? Where can developers learn more about it? What ...
MCH's user avatar
  • 690
1 vote
2 answers
189 views

Making an RPC request from another machine on the same network

I have a machine (A) running a Tezos node, with RPC port set to 8732. Its local IP is 192.168.1.200. I have another machine (B), from the same network, from which I'd like to connect to the RPC of A. ...
Babell's user avatar
  • 500
2 votes
1 answer
121 views

How to monitor RPC block responses for token transfers?

I am wondering how to effectively monitor for some given address for FA 1.2 and FA 2 token balance updates. Given that the entrypoints to the contract are defined, I'd like to write something which ...
enforser's user avatar
0 votes
1 answer
97 views

storage_exhausted error when sending to unrevealed account

I'm trying to run an undelegation+transaction of all my XTZ to an unrevealed account on Delphinet (7.5). This also happens in Carthagenet so I'm guessing is a calculation error on my part: The first ...
MalenaLBC's user avatar
1 vote
0 answers
292 views

Simulation of run_operation of XTZ send gives Failed to parse the request body: No case matched:

I'm dry-running an operation with an xtz amount that is close to my max balance to an unrevealed tz2 account on mainnet to get the fees. When estimating for fees I run two RPC endpoints at the same ...
MalenaLBC's user avatar
1 vote
1 answer
71 views

Does Tezos have anything similar to Ethereum's events?

In Ethereum you can subscribe to events through a node and you can then get notified if a specific event, like the receiving of a token transfer, happens. Is this possible with Tezos?
Thorkil Værge's user avatar
0 votes
2 answers
94 views

Is there any way to send RPC to other nodes without creating your own node?

I am wondering if there is a way to send RPC to other nodes without creating your own node because I do not have enough capacity to create a node in my laptop. Below is what I have tried. Got some ips ...
Cody's user avatar
  • 11
0 votes
1 answer
41 views

What does `consequence of bad union` mean when injecting a block?

Attempted to inject this block but got error: Invalid_argument "Json_encoding.construct: consequence of bad union" What does this error actually mean? The contents of the block look fine; it ...
utdrmac's user avatar
  • 3,422