SignRequest class

Annotations
  • @JsonSerializable(includeIfNull: false)

Constructors

SignRequest({required String? code, Map<String, dynamic>? data, required String sender, required String networkId, required String chainId, int? gasLimit, double? gasPrice, String? signingPubKey, int? ttl, List<DappCapp>? caps})
SignRequest.fromJson(Map<String, dynamic> json)
factory

Properties

caps List<DappCapp>?
The role and descriptiong are displayed to the user when signing
getter/setter pair
chainId String
The chain the transaction will be executed on. 0, 1, 2...
getter/setter pair
code String?
The pact code to be executed.
getter/setter pair
data Map<String, dynamic>?
The JSON data available during the execution of the code Accessible using built-in functions like read-msg
getter/setter pair
envData Map<String, dynamic>?
getter/setter pair
gasLimit int?
The maximum amount of gas to be used for the transaction.
getter/setter pair
gasPrice double?
The price of gas to be used for the transaction. Generally something like 1e-5 or 1e-8
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
networkId String
mainnet01, testnet04
getter/setter pair
pactCode String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sender String
The account that will pay for the transaction's gas.
getter/setter pair
signingPubKey String?
The public key that will sign the transaction.
getter/setter pair
ttl int?
Time to live in seconds
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.
override

Operators

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