StellarRpcRequest<RESULT, RESPONSE> class
abstract
v2 base for generated Stellar-RPC (ex-Soroban) JSON-RPC requests.
Matches generator --client-json-rpc output (jsonRpcMethod + body()).
Transport matches the shared StellarProvider/StellarRequestDetails
stack so old and new clients can share it.
- Inheritance
-
- Object
- BaseServiceRequest<
RESULT, RESPONSE, StellarRequestDetails> - StellarRpcRequest
- Implementers
- StellarRpcRequestGetEvents
- StellarRpcRequestGetFeeStats
- StellarRpcRequestGetHealth
- StellarRpcRequestGetLatestLedger
- StellarRpcRequestGetLedgerEntries
- StellarRpcRequestGetLedgers
- StellarRpcRequestGetNetwork
- StellarRpcRequestGetTransaction
- StellarRpcRequestGetTransactions
- StellarRpcRequestGetVersionInfo
- StellarRpcRequestSendTransaction
- StellarRpcRequestSimulateTransaction
Constructors
- StellarRpcRequest()
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- jsonRpcMethod → String?
-
no setter
- path → String?
-
no setter
- requestMethod → RequestMethod
-
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
body(
{JsonifyConfig config = DefaultJsonifyConfig.defaultConfig}) → dynamic -
buildRequest(
int requestID) → StellarRequestDetails -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onResponse(
RESPONSE result) → RESULT -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited