Forge operation bytes
Forged operation bytes
forge.forge({ branch: head.hash, contents: [{ kind: 'transaction', source: 'tz1fXdNLZ4jrkjtgJWMcfeNpFDK9mbCBsaV4', fee: '50000', counter: '31204', gas_limit: '10200', storage_limit: '0', amount: '100000000', destination: 'tz1RvhdZ5pcjD19vCCK9PgZpnmErTba3dsBs', }],}, 32847).then(({ opbytes, opOb }) => console.log(opbytes, opOb));
The operation object(s)
The current counter for the account
The next protocol for the operation. Used to handle protocol upgrade events if necessary.
Generated using TypeDoc
Description
Forge operation bytes
Returns
Forged operation bytes
Example