The account_mptokens method returns information about the MPTokens the account currently holds.
More...
#include <AccountMPTokens.hpp>
|
| static RpcSpecConstRef | spec (uint32_t apiVersion) |
| | Returns the API specification for the command.
|
|
|
static constexpr auto | kLimitMin = 10 |
|
static constexpr auto | kLimitMax = 400 |
|
static constexpr auto | kLimitDefault = 200 |
The account_mptokens method returns information about the MPTokens the account currently holds.
◆ AccountMPTokensHandler()
| rpc::AccountMPTokensHandler::AccountMPTokensHandler |
( |
std::shared_ptr< BackendInterface > | sharedPtrBackend | ) |
|
|
inline |
◆ process()
Process the AccountMPTokens command.
- Parameters
-
| input | The input data for the command. |
| ctx | The context of the request. |
- Returns
- The result of the operation.
◆ spec()
Returns the API specification for the command.
- Parameters
-
| apiVersion | The API version to return the spec for. |
- Returns
- The spec for the given API version.
◆ tag_invoke [1/3]
Convert the MPTokenResponse to a JSON object.
- Parameters
-
| [out] | jv | The JSON object to convert to |
| mptoken | The MPToken response to convert |
◆ tag_invoke [2/3]
Convert the Output to a JSON object.
- Parameters
-
| [out] | jv | The JSON object to convert to |
| output | The output to convert |
◆ tag_invoke [3/3]
| Input tag_invoke |
( |
boost::json::value_to_tag< Input > | , |
|
|
boost::json::value const & | jv ) |
|
friend |
Convert a JSON object to Input type.
- Parameters
-
| jv | The JSON object to convert |
- Returns
- Input parsed from the JSON object
The documentation for this class was generated from the following files:
- /__w/clio/clio/src/rpc/handlers/AccountMPTokens.hpp
- /__w/clio/clio/src/rpc/handlers/AccountMPTokens.cpp