R
- the expected response data classRequestAccountBalance
, RequestAccountBlockCount
, RequestAccountCreate
, RequestAccountFromKey
, RequestAccountHistory
, RequestAccountInfo
, RequestAccountList
, RequestAccountPublicKey
, RequestAccountRemove
, RequestAccountRepresentative
, RequestAccountRepresentativeSet
, RequestAccountsCreate
, RequestAccountsMove
, RequestAccountWeight
, RequestActiveDifficulty
, RequestAvailableSupply
, RequestBlockAccount
, RequestBlockConfirm
, RequestBlockCount
, RequestBlockCountByType
, RequestBlockCreate
, RequestBlockHash
, RequestBlockInfo
, RequestBootstrap
, RequestBootstrapAny
, RequestBootstrapLazy
, RequestBootstrapStatus
, RequestChain
, RequestConfirmationActive
, RequestConfirmationHeightProcessing
, RequestConfirmationHistory
, RequestConfirmationInfo
, RequestConfirmationQuorum
, RequestConvertUnits
, RequestDelegators
, RequestDelegatorsCount
, RequestDeterministicKey
, RequestFrontierCount
, RequestFrontiers
, RequestKeepAlive
, RequestKeyCreate
, RequestKeyExpand
, RequestLedger
, RequestMultiAccountBalances
, RequestMultiAccountFrontiers
, RequestMultiAccountsPending
, RequestMultiBlocks
, RequestMultiBlocksInfo
, RequestNodeId
, RequestNodeIdDelete
, RequestPasswordChange
, RequestPasswordEnter
, RequestPasswordValid
, RequestPeers
, RequestPending
, RequestPendingExists
, RequestProcess
, RequestReceive
, RequestReceiveMinimum
, RequestReceiveMinimumSet
, RequestRepresentatives
, RequestRepresentativesOnline
, RequestRepublish
, RequestSearchPending
, RequestSearchPendingAll
, RequestSend
, RequestSign
, RequestStop
, RequestSuccessors
, RequestTelemetry
, RequestUnchecked
, RequestUncheckedClear
, RequestUncheckedGet
, RequestUncheckedKeys
, RequestUnopened
, RequestUptime
, RequestValidateAccount
, RequestVersion
, RequestWalletAdd
, RequestWalletAddWatch
, RequestWalletBalances
, RequestWalletChangeSeed
, RequestWalletContains
, RequestWalletCreate
, RequestWalletDestroy
, RequestWalletExport
, RequestWalletFrontiers
, RequestWalletHistory
, RequestWalletInfo
, RequestWalletLedger
, RequestWalletLock
, RequestWalletLocked
, RequestWalletPending
, RequestWalletRepresentative
, RequestWalletRepresentativeSet
, RequestWalletRepublish
, RequestWalletWorkGet
, RequestWorkCancel
, RequestWorkGenerate
, RequestWorkGet
, RequestWorkPeerAdd
, RequestWorkPeers
, RequestWorkPeersClear
, RequestWorkSet
, RequestWorkValidate
public class RpcRequest<R extends RpcResponse> extends Object
This class represents an RPC request, enclosing the request's name, response class and parameters.
Classes which extend this class need to specify parameters as private fields, and MUST be marked with Gson's
Expose
annotation. The parameter name will be derived from the name of the field, unless specified otherwise
using the SerializedName
annotation.
Constructor | Description |
---|---|
RpcRequest(String actionCommand,
Class<R> responseClass) |
Modifier and Type | Method | Description |
---|---|---|
String |
getActionCommand() |
|
Class<R> |
getResponseClass() |
|
String |
toString() |
Copyright © 2020. All rights reserved.