toPayload property

Map<String, dynamic> toPayload

Implementation

Map<String, dynamic> get toPayload => {
      'version': this.version,
      'toAddr': ZilAddress.toValidAddress(this.toAddr!),
      'nonce': this.nonce,
      'pubKey': this.pubKey,
      'amount': this.amount.toString(),
      'gasPrice': this.gasPrice.toString(),
      'gasLimit': this.gasLimit.toString(),
      'code': this.code,
      'data': this.data,
      'signature': this.signature,
      'priority': this.toDS
    };