NetModule class

Constructors

NetModule.new(TonSdkCore core)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

aggregate_collection(ParamsOfAggregateCollection params) Future<ResultOfAggregateCollection>
Aggregates values from the specified fields for records that satisfies the filter conditions,
batch_query(ParamsOfBatchQuery params) Future<ResultOfBatchQuery>
Performs multiple queries per single fetch.
create_block_iterator(ParamsOfCreateBlockIterator params) Future<RegisteredIterator>
Block iterator uses robust iteration methods that guaranties that every block in the specified range isn't missed or iterated twice.
create_transaction_iterator(ParamsOfCreateTransactionIterator params) Future<RegisteredIterator>
Transaction iterator uses robust iteration methods that guaranty that every transaction in the specified range isn't missed or iterated twice.
fetch_endpoints() Future<EndpointsSet>
Requests the list of alternative endpoints from server
find_last_shard_block(ParamsOfFindLastShardBlock params) Future<ResultOfFindLastShardBlock>
Returns ID of the last block in a specified account shard
get_endpoints() Future<ResultOfGetEndpoints>
Requests the list of alternative endpoints from server
get_signature_id() Future<ResultOfGetSignatureId>
Returns signature ID for configured network if it should be used in messages signature
iterator_next(ParamsOfIteratorNext params) Future<ResultOfIteratorNext>
In addition to available items this function returns the has_more flag indicating that the iterator isn't reach the end of the iterated range yet.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
query(ParamsOfQuery params) Future<ResultOfQuery>
Performs DAppServer GraphQL query.
query_collection(ParamsOfQueryCollection params) Future<ResultOfQueryCollection>
Queries data that satisfies the filter conditions, limits the number of returned records and orders them. The projection fields are limited to result fields
query_counterparties(ParamsOfQueryCounterparties params) Future<ResultOfQueryCollection>
Attention this query retrieves data from 'Counterparties' service which is not supported in the opensource version of DApp Server (and will not be supported) as well as in Evernode SE (will be supported in SE in future), but is always accessible via EVER OS Clouds
query_transaction_tree(ParamsOfQueryTransactionTree params) Future<ResultOfQueryTransactionTree>
Performs recursive retrieval of a transactions tree produced by a specific message: in_msg -> dst_transaction -> out_messages -> dst_transaction -> ... If the chain of transactions execution is in progress while the function is running, it will wait for the next transactions to appear until the full tree or more than 50 transactions are received.
remove_iterator(RegisteredIterator params) Future<void>
Frees all resources allocated in library to serve iterator.
resume() Future<void>
Resumes network module to enable network activity
resume_block_iterator(ParamsOfResumeBlockIterator params) Future<RegisteredIterator>
The iterator stays exactly at the same position where the resume_state was caught.
resume_transaction_iterator(ParamsOfResumeTransactionIterator params) Future<RegisteredIterator>
The iterator stays exactly at the same position where the resume_state was caught. Note that resume_state doesn't store the account filter. If the application requires to use the same account filter as it was when the iterator was created then the application must pass the account filter again in accounts_filter parameter.
set_endpoints(EndpointsSet params) Future<void>
Sets the list of endpoints to use on reinit
subscribe(ParamsOfSubscribe params) Future<ResultOfSubscribeCollection>
The subscription is a persistent communication channel between client and Everscale Network.
subscribe_collection(ParamsOfSubscribeCollection params) Future<ResultOfSubscribeCollection>
Triggers for each insert/update of data that satisfies the filter conditions. The projection fields are limited to result fields.
suspend() Future<void>
Suspends network module to stop any network activity
toString() String
A string representation of this object.
inherited
unsubscribe(ResultOfSubscribeCollection params) Future<void>
Cancels a subscription specified by its handle.
wait_for_collection(ParamsOfWaitForCollection params) Future<ResultOfWaitForCollection>
Triggers only once. If object that satisfies the filter conditions already exists - returns it immediately. If not - waits for insert/update of data within the specified timeout, and returns it. The projection fields are limited to result fields

Operators

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