sui_types::storageTrait RpcIndexes
Source pub trait RpcIndexes: Send + Sync {
// Required methods
fn get_transaction_checkpoint(
&self,
digest: &TransactionDigest,
) -> Result<Option<CheckpointSequenceNumber>>;
fn account_owned_objects_info_iter(
&self,
owner: SuiAddress,
cursor: Option<ObjectID>,
) -> Result<Box<dyn Iterator<Item = Result<AccountOwnedObjectInfo, TypedStoreError>> + '_>>;
fn dynamic_field_iter(
&self,
parent: ObjectID,
cursor: Option<ObjectID>,
) -> Result<Box<dyn Iterator<Item = Result<(DynamicFieldKey, DynamicFieldIndexInfo), TypedStoreError>> + '_>>;
fn get_coin_info(&self, coin_type: &StructTag) -> Result<Option<CoinInfo>>;
}