3. Sign the HeaderΒΆ
Once the TransactionHeader is created and serialized as a Protobuf binary, you can use your private key to create a secp256k1 signature. If not handled automatically by your signing library, you may have to manually generate a SHA-256 hash of the header bytes to be signed. The signature should be formatted as a hexedecimal string for transmission.