JrpcTransportImpl class
CONTENT OF src/nekoton_wrapper/transport/jrpc_transport_api.rs
Wrapper structure above JrpcTransport that provides interface to communicate with it via TransportBoxTrait.
Constructors
- JrpcTransportImpl.new({required JrpcConnectionDartWrapper jrpcConnection})
-
factory
- JrpcTransportImpl.raw({required ArcTransportBoxTrait innerTransport})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- innerTransport → ArcTransportBoxTrait
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getAccountsByCodeHash(
{required String codeHash, required int limit, String? continuation}) → Future< String> - Get list of accounts by code hash. Returns json-encoded AccountsList or throw error
-
getBlockchainConfig(
{required bool force}) → Future< String> - Get config of transport. Returns json-encoded BlockchainConfigDef or throw error
-
getContractState(
{required String address}) → Future< String> - Get contract state of address and return json-encoded RawContractState or throw error
-
getDstTransaction(
{required String messageHash}) → Future< String?> - Call get_dst_transaction of nekoton's transport and return option json-encoded RawTransaction or throw error
-
getFeeFactors(
{required bool isMasterchain}) → Future< String> -
getFullContractState(
{required String address}) → Future< String?> - Get full contract state of address and return json-encoded FullContractState or throw error
-
getNetworkId(
) → Future< int> - Get id of network or throw error
-
getSignatureId(
) → Future< int?> - Get transport signature id and return it or throw error
-
getTransaction(
{required String hash}) → Future< String?> - Get single transaction by its hash. Return json-encoded Transaction or throw error
-
getTransactions(
{required String address, String? fromLt, required int count}) → Future< String> - Get list of transactions by address. Return json-encoded TransactionsList or throw error
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
simulateTransactionTree(
{required String signedMessage, required List< int> ignoredComputePhaseCodes, required List<int> ignoredActionPhaseCodes}) → Future<String> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override