Questions tagged [rpc]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
2 answers
50 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”:“...
  • 23
1 vote
1 answer
41 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,...
  • 113
0 votes
0 answers
18 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 ...
3 votes
0 answers
27 views

Get "global constant"

How can I get the content of a registered "global constant" from node? Was not able to find any tezos-client (get global constant) or RPC. Thanks.
  • 31
3 votes
1 answer
63 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 ...
  • 31
1 vote
0 answers
20 views

Get "Unauthorized" while sending transaction by node RPC

I try to send transaction by RPC, but get the "Unauthorized" error. All the rest requests work correctly. How can i fix it? There is my config: { "data-dir": "/var/run/tezos/...
0 votes
1 answer
115 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 ...
  • 101
0 votes
1 answer
22 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 ...
  • 139
2 votes
1 answer
27 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
0 votes
2 answers
75 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 ...
  • 5
0 votes
0 answers
22 views

How to create operation object of kind originate?

I am using '@taquito/rpc' functions such as forgeOperations, sign('@taquio/signer') and injectOperation to deploy a contract. I would like to know the contents to be included to originate a contract ...
0 votes
2 answers
173 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-...
  • 31
0 votes
1 answer
61 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 ...
0 votes
1 answer
52 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 ...
1 vote
1 answer
211 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 ...
0 votes
2 answers
52 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 ...
  • 1
2 votes
1 answer
132 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/...
  • 23
2 votes
1 answer
301 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:...
  • 311
0 votes
2 answers
63 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!
  • 3
0 votes
1 answer
37 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 ...
  • 3
0 votes
0 answers
104 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
  • 3
0 votes
1 answer
65 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() ...
0 votes
2 answers
50 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 ...
1 vote
1 answer
68 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>&...
0 votes
1 answer
45 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 ...
0 votes
1 answer
48 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 ....
  • 680
1 vote
1 answer
103 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 ...
  • 31
0 votes
2 answers
133 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 ...
  • 680
1 vote
2 answers
139 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. ...
  • 500
2 votes
1 answer
95 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 ...
0 votes
1 answer
73 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 ...
1 vote
0 answers
230 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 ...
1 vote
1 answer
69 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?
0 votes
2 answers
84 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 ...
  • 11
0 votes
1 answer
36 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 ...
  • 3,414
2 votes
1 answer
61 views

At what level are nonce's required to be injected within a cycle?

Nonces are to be revealed/injected in the cycle after which they are tied to their block. If you bake a block in cycle 4, and the level % 32 is 0, then you are required to reveal the nonce seed in ...
  • 3,414
0 votes
1 answer
65 views

What causes /mempool/monitor_operations to exit?

When I run curl http://127.0.0.1:8732/mempool/monitor_operations, the mempool contents are printed to the screen, and more data is printed as more operations come into the mempool (ie: stream of data) ...
  • 3,414
1 vote
1 answer
55 views

What do the sort and timestamp parameters to /preapply/block mean?

If you look at the documentation for .../preapply/block, you see two parameters: sort, and timestamp But there is no explanation for what these do. The RPC help does not even mention them: $ ./tezos-...
  • 3,414
2 votes
1 answer
117 views

How do I parse a tezos operation via RPC?

I am trying to find out how parse a transaction using the RPC. I am running both a carthage and main net node on localhost. Both are rolling nodes. I have previously read this answer but I cannot get ...
3 votes
1 answer
228 views

Switching from full mode to archive mode

I have a full node with the last checkpoint at block 1077249: $ ./tezos-client rpc get /chains/main/checkpoint { "block": { "level": 1077249, "proto": 6, "...
2 votes
1 answer
29 views

Timestamps overflow/underflow errors

In the list of possible errors in RPC: http://tezos.gitlab.io/api/errors.html#michelson-parsing-macros, there are timestamp_add and timestamp_sub errors, that could happen in arithmetic instructions ...
1 vote
1 answer
38 views

Tezos RPC shows baker as one of the delegated contracts

When querying the tezos rpc, the baker address is shown under the delegated_contracts, this causes an issue when using tezos-reward-distributor to payout the rewards since TRD looks at the rpc and ...
1 vote
1 answer
93 views

Is the set of available RPC calls dependant on the connected node?

When I am connected to rpcalpha.tzbeta.net through tezos-client -l -A rpcalpha.tzbeta.net -S -P 443 config update I can succesfully call tezos-client activate account alice with <...
2 votes
0 answers
195 views

HTTP status codes for failing requests

There is a list of all possible RPC errors at this page: http://tezos.gitlab.io/api/errors.html According to my experiments, these errors are returned differently. I found at least two different ways ...
1 vote
1 answer
883 views

My Tezbox can't connect to https://mainnet.tezrpc.me

I am trying to make a XTZ delegation. Downloaded the Tezbox, but shows " Error Level N/A Not Connected https://mainnet.tezrpc.me " what's wrong for my tezbox. And how to fix this?
  • 11
3 votes
2 answers
64 views

Synthetic "migration" operations in tzkt.io - any way to get them from the node?

I have a problem similar to this one. We have full node and sync blockchain data to our DB by calling RPC API /chains/main/blocks/N. We have come across some addresses balances for which differentiate ...
1 vote
1 answer
242 views

How to use the /pack_data RPC endpoint to pack a map

To pack an address with the /pack_data we pass the following: const packedData = await axios.post( `${nodeURL}/chains/main/blocks/head/helpers/scripts/pack_data`, { data: { string:...
  • 444
1 vote
2 answers
137 views

Failure starting carthagenet.sh with --rpc-port option

I am trying to start carthagenet.sh in RPC mode on Ubuntu 18.04 $ ./carthagenet.sh start --rpc-port 8732 It appears to start fine: v7.0: Pulling from tezos/tezos Digest: sha256:...
2 votes
1 answer
102 views

Is there low level documentation about creating transactions available?

I am fairly new to tezos but not the ecosystem of crypto currencies. I am trying to develop some sort of C/C++ library, that is capable of creating a tezos transaction, constructing stake and unstake ...
  • 43
2 votes
1 answer
69 views

General question about RPCs

Can I generate account through curl jsonrpc?? I couldn't find in official developer docs. How can I list up account lists through curl jsonrpc? How can I search transaction detail information based ...