Address binary format

Learn more about address

Field order number Field Field type Field size in bytes Comments
1 Entity type Byte 1 Value must be 1
2 Chain ID Byte 1 Value equals:
54 — for test network
57 — for main network
3 Account public key hash Array of bytes 20 First 20 bytes of the result of the Keccak256(Blake2b256(publicKey)) hashing function.
Here publicKey is the array of bytes of the account public key
4 Checksum Array of bytes 4 First 4 bytes of the result of the Keccak256(Blake2b256(data)) hashing function.
Here data is the array of bytes of three fields put together:
1. Entity type
2. Chain ID
3. Account public key hash

results matching ""

    No results matching ""