Expand description
This crate provides various APIs for interacting with the IOTA blockchain. It includes methods for querying data, building and executing transactions, managing governance-related data, and more.
Structs§
- Bridge
Read ApiOpen Rpc - Coin
Read ApiOpen Rpc - Extended
ApiOpen Rpc - Governance
Read ApiOpen Rpc - Indexer
ApiOpen Rpc - Json
RpcMetrics - Move
Utils Open Rpc - Read
ApiOpen Rpc - Transaction
Builder Open Rpc - Write
ApiOpen Rpc
Constants§
- CLIENT_
SDK_ TYPE_ HEADER - CLIENT_
SDK_ VERSION_ HEADER - The version number of the SDK itself. This can be different from the API version.
- CLIENT_
TARGET_ API_ VERSION_ HEADER - The RPC API version that the client is targeting. Different SDK versions may target the same API version.
- QUERY_
MAX_ RESULT_ LIMIT_ CHECKPOINTS - TRANSACTION_
EXECUTION_ CLIENT_ ERROR_ CODE - TRANSIENT_
ERROR_ CODE
Statics§
Traits§
- Bridge
Read ApiClient - Client implementation for the
BridgeReadApi
RPC API. - Bridge
Read ApiServer - Server trait implementation for the
BridgeReadApi
RPC API. - Coin
Read ApiClient - Client implementation for the
CoinReadApi
RPC API. - Coin
Read ApiServer - Server trait implementation for the
CoinReadApi
RPC API. - Extended
ApiClient - Client implementation for the
ExtendedApi
RPC API. - Extended
ApiServer - Server trait implementation for the
ExtendedApi
RPC API. - Governance
Read ApiClient - Client implementation for the
GovernanceReadApi
RPC API. - Governance
Read ApiServer - Server trait implementation for the
GovernanceReadApi
RPC API. - Indexer
ApiClient - Client implementation for the
IndexerApi
RPC API. - Indexer
ApiServer - Server trait implementation for the
IndexerApi
RPC API. - Move
Utils Client - Client implementation for the
MoveUtils
RPC API. - Move
Utils Server - Server trait implementation for the
MoveUtils
RPC API. - Read
ApiClient - Client implementation for the
ReadApi
RPC API. - Read
ApiServer - Server trait implementation for the
ReadApi
RPC API. - Transaction
Builder Client - Client implementation for the
TransactionBuilder
RPC API. - Transaction
Builder Server - Server trait implementation for the
TransactionBuilder
RPC API. - Write
ApiClient - Client implementation for the
WriteApi
RPC API. - Write
ApiServer - Server trait implementation for the
WriteApi
RPC API.
Functions§
- cap_
page_ limit - error_
object_ from_ rpc - Convert a jsonrpsee client error into a generic error object.
- internal_
error - Convert an internal error into a generic error object.
- read_
size_ from_ env - validate_
limit