SmartContractService class

Constructors

SmartContractService({int nodeType, String apiUrl, String keyApp})

Properties

apiUrl String
getter/setter pair
body String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
keyApp String
getter/setter pair
logger ↔ Logger
getter/setter pair
nodeType int
getter/setter pair
requestHeaders Map<String, String>
final
responseHttp ↔ Response
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sshClient SSHClient
getter/setter pair

Methods

contractCallAddMultiSig(String nodeAddress, String contract, double maxFee, String destinationAddress, String privateKey) Future<ContractCallResponse>
contractCallPushMultiSig(String nodeAddress, String contract, double maxFee, String destinationAddress, String amount) Future<ContractCallResponse>
contractCallSendMultiSig(String nodeAddress, String contract, double maxFee, String destinationAddress, String amount) Future<ContractCallResponse>
contractCallTransferTimeLock(String nodeAddress, String contract, double maxFee, String destinationAddress, String amount) Future<ContractCallResponse>
contractDeployMultiSig(String nodeAddress, int maxVotes, int minVotes, double amount, double maxFee) Future<ContractDeployResponse>
contractDeployTimeLock(String nodeAddress, int timestamp, double amount, double maxFee) Future<ContractDeployResponse>
contractEstimateDeployMultiSig(String nodeAddress, int maxVotes, int minVotes, double amount) Future<ContractEstimateDeployResponse>
contractEstimateDeployTimeLock(String nodeAddress, int timestamp, double amount) Future<ContractEstimateDeployResponse>
contractTerminateMultiSig(String nodeAddress, String contract, double maxFee, String destinationAddress) Future<ContractTerminateResponse>
contractTerminateTimeLock(String nodeAddress, String contract, double maxFee, String destinationAddress) Future<ContractTerminateResponse>
getContract(String contractAddress) Future<ApiContractResponse>
getContractBalanceUpdates(String address, String contractAddress, int limit) Future<ApiContractBalanceUpdatesResponse>
getContractIterateMap(String contractAddress, String map, String continuationToken, String keyFormat, String valueFormat, int limit) Future<ContractIterateMapResponse>
getContractIterateMapAddr(String contractAddress, String continuationToken) Future<ContractIterateMapResponse>
getContractIterateMapAmount(String contractAddress, String continuationToken) Future<ContractIterateMapResponse>
getContractReadDataByte(String contractAddress, String key) Future<int>
getContractReadDataHex(String contractAddress, String key) Future<String>
getContractReadDataUint64(String contractAddress, String key) Future<int>
getContractStake(String contractAddress) Future<ContractGetStakeResponse>
getContractTxs(String address, int limit, String typeOfContract) Future<ApiContractTxsResponse>
getMultiSigToSend(String address) Future<String>
getPredictSmartContractAddress(String address) Future<String>
getSmartContractStake() Future<double>
getTxReceipt(String txHash) Future<BcnTxReceiptResponse>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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