JrpcTransport class
Implementation of jrpc transport
Properties
- connectionParamsHash ↔ String
- 
  Get uniquer identifier of transport based on type and endpoints
  latefinalinherited
- disposed → bool
- 
  Flag that means that dispose method was called and all next calls will
throw TransportCallAfterDisposeError except of MutexPoisoned error
or RustToDartCaller.invokeexception.no setteroverride
- group → String
- 
  
  no setteroverride
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- jrpcConnection → JrpcConnection
- 
  
  final
- mutex → ReadWriteMutex
- 
  
  finalinherited
- name → String
- 
  
  no setteroverride
- networkId ↔ int
- 
  
  latefinalinherited
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
- transport ↔ JrpcTransportImpl
- 
  
  getter/setter pair
- transportBox → ArcTransportBoxTrait
- 
  Used only for creating rust instances.
  no setteroverride
- type → TransportType
- 
  
  no setteroverride
Methods
- 
  dispose() → Future< void> 
- 
  
  override
- 
  getAccountsByCodeHash({required String codeHash, required int limit, String? continuation}) → Future< AccountsList> 
- 
  Get list of accounts by code hash. Returns AccountsList or throw error
  override
- 
  getBlockchainConfig({bool force = true}) → Future< BlockchainConfig> 
- 
  Get blockchain config or throw error
  override
- 
  getContractFields({required Address address, required String contractAbi, FullContractState? cachedState}) → Future< (Map< String, dynamic> ?, FullContractState?)>
- 
  Get contract fields of addressand return (Map<String, dynamic>, state) or throw error. This method automatically loads state by calling getFullContractState ifcachedStateis null.override
- 
  getContractState(Address address) → Future< RawContractState> 
- 
  Get contract state of address and return RawContractState or throw error
  override
- 
  getDstTransaction(String messageHash) → Future< RawTransaction?> 
- 
  Call get_dst_transaction of nekoton's transport and
return option RawTransaction or throw error
  override
- 
  getFeeFactors({required bool isMasterchain}) → Future< FeeFactors> 
- 
  Get fee factor or throw error
  override
- 
  getFullContractState(Address address) → Future< FullContractState?> 
- 
  Get full contract state of address and return FullContractState or throw error
  override
- 
  getNetworkId() → Future< int> 
- 
  Get id of network or throw error
  override
- 
  getSignatureId() → Future< int?> 
- 
  Get transport signature id and return it or throw error
  override
- 
  getTransaction(String hash) → Future< Transaction?> 
- 
  Get single transaction by its id.
Return Transaction if found or throw error
  override
- 
  getTransactions({required Address address, required int count, String? fromLt}) → Future< TransactionsList> 
- 
  Get list of transactions by address.
Return TransactionsList or throw error
  override
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  simulateTransactionTree({required SignedMessage signedMessage, required Int32List ignoredComputePhaseCodes, required Int32List ignoredActionPhaseCodes}) → Future< List< TxTreeSimulationErrorItem> >
- 
  
  override
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
- 
  use<T> (Future< T> fn()) → Future<T> 
- 
  
  inherited
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited
Static Methods
- 
  create({required JrpcConnection jrpcConnection}) → Future< JrpcTransport>