Questions tagged [encoding]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
7
votes
3answers
618 views

Format of public key, signature and key_hash literals

According to grammar present in Michelson specification, there are string constants for types signature, key, key_hash. What is the precise format of these strings? Specifically: Suppose I have a key ...
7
votes
3answers
260 views

How do I base58 encode the chain ID using Python?

When Tezos needs to sign a baking or endorsement operation payload, byte 0 will be a 0x01 for a baking operation or 0x02 for an endorsement operation. Bytes 1-5 in the operation payload contain the ...
5
votes
3answers
336 views

How to decode raw transaction?

I am using @taquito to build and sign a transaction. But before I send it I want to decode it to check my destination address, amount etc like you would normally do for other blockchains. Not sure ...
1
vote
0answers
39 views

How to decode the contents of a block using `tezos-codec`

How do I extract the operations from a block using tezos-codec? I can decode the block header as follows below, but I'm interested in seeing the contents of the block. export BLOCK="...