SigningPayload class

CurveType is the type of cryptographic curve associated with a PublicKey. * secp256k1: SEC compressed - 33 bytes (https://secg.org/sec1-v2.pdf#subsubsection.2.3.3) * secp256r1: SEC compressed - 33 bytes (https://secg.org/sec1-v2.pdf#subsubsection.2.3.3) * edwards25519: y (255-bits) || x-sign-bit (1-bit) - 32 bytes (https://ed25519.cr.yp.to/ed25519-20110926.pdf) * tweedle: 1st pk : Fq.t (32 bytes) || 2nd pk : Fq.t (32 bytes) (https://github.com/CodaProtocol/coda/blob/develop/rfcs/0038-rosetta-construction-api.md#marshal-keys)

SigningPayload is signed by the client with the keypair associated with an AccountIdentifier using the specified SignatureType. SignatureType can be optionally populated if there is a restriction on the signature scheme that can be used to sign the payload.

Constructors

SigningPayload(String hex_bytes, String? address, AccountIdentifier? account_identifier, String? signature_type)
SigningPayload.fromMap(Map<String, dynamic> map)
factory

Properties

account_identifier AccountIdentifier?
getter/setter pair
address String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hex_bytes String
DEPRECATED by `account_identifier` in `v1.4.4` The network-specific address of the account that should sign the payload.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signature_type String?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited