Rosetta_models.Signaturetype t = {signing_payload : Signing_payload.t; |
public_key : Public_key.t; |
signature_type : Enums.signaturetype; |
hex_bytes : string; |
}val to_yojson : t -> Yojson.Safe.tval of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_orval _ : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_orval pp :
Ppx_deriving_runtime.Format.formatter ->
t ->
Ppx_deriving_runtime.unitval show : t -> Ppx_deriving_runtime.stringval create :
Signing_payload.t ->
Public_key.t ->
Enums.signaturetype ->
string ->
tSignature contains the payload that was signed, the public keys of the keypairs used to produce the signature, the signature (encoded in hex), and the SignatureType. PublicKey is often times not known during construction of the signing payloads but may be needed to combine signatures properly.