2 votes

Success response when injecting a transaction with outdated branch

This is probably a bug. I've created an issue here and we will investigate it further. It would be helpful if you could post an example transaction that triggers this to make it easier to reproduce.
adrian's user avatar
  • 1,009
2 votes
Accepted

Create input for injectOperation (forged op + Beacon Wallet signature)

Make sure you slice the prefix from the signature The example bellow can be improved. export const sign = async (wallet: BeaconWallet, bytes: string) => { const result = await wallet.client....
Rodrigo Quelhas's user avatar
1 vote
Accepted

What does it mean to inject an operation?

It means inserting a signed operation into the mempool, that then will be broadcasted to other nodes in the network and hopefully included by a baker in a block.
Rodrigo Quelhas's user avatar
1 vote
Accepted

Inject an operation using a remote node

Yes. Tell your tezos-client to use a public RPC node that accepts injections (not all do). tezos-client -A https://publicrpc.node.com/ transfer 50 from tz1.. to tz1... You'll need to find a public RPC ...
utdrmac's user avatar
  • 3,422
1 vote

How to get hash of operation without injecting in chain

You can forge operations remotly using a node, with the rpc : /chains/main/blocks/head/helpers/forge/operations. This is a POST request, you have to give a json file like: { "branch" : block_hash, "...
ocpmax's user avatar
  • 204

Only top scored, non community-wiki answers of a minimum length are eligible