TonCenterSendQuery class
Send query - unpacked external message. This method takes address, body and init-params (if any), packs it to external message and sends to network. All params should be boc-serialized. https://toncenter.com/api/v2/#/send/send_query_sendQuery_post
- Inheritance
-
- Object
- BaseServiceRequest<
TraceResponse, Map< String, dynamic> , TonRequestDetails> - TonApiRequest<
TraceResponse, Map< String, dynamic> > - TonCenterPostRequest<
TraceResponse, Map< String, dynamic> > - TonCenterSendQuery
Constructors
- TonCenterSendQuery.new({required String address, required String body, required String initCode, required String initData})
Properties
- address → String
-
final
- body → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
→ Map<
String, String?> -
map of header
finalinherited
- initCode → String
-
final
- initData → String
-
final
- method → String
-
no setteroverride
-
pathParameters
→ List<
String> -
list of path parameters variable
finalinherited
-
queryParameters
→ Map<
String, dynamic> -
map of query parameters
finalinherited
- requestType → RequestServiceType
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
buildRequest(
int v) → TonRequestDetails -
Converts the request parameters to TonRequestDetails with a unique identifier.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onResonse(
Map< String, dynamic> result) → TraceResponse -
override
-
params(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited