public class StateProofServiceImpl extends java.lang.Object implements StateProofService
| Constructor and Description |
|---|
StateProofServiceImpl(RepositoryFactory repositoryFactory) |
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Observable<StateMerkleProof<AccountInfo>> |
account(AccountInfo state)
It returns the StateMerkleProof of an account.
|
io.reactivex.Observable<StateMerkleProof<AccountInfo>> |
account(Address address)
It returns the StateMerkleProof of an account.
|
io.reactivex.Observable<StateMerkleProof<AccountRestrictions>> |
accountRestrictions(AccountRestrictions state)
It returns the StateMerkleProof of an account restriction.
|
io.reactivex.Observable<StateMerkleProof<AccountRestrictions>> |
accountRestrictions(Address address)
It returns the StateMerkleProof of an account restriction.
|
io.reactivex.Observable<StateMerkleProof<HashLockInfo>> |
hashLock(HashLockInfo state)
It returns the StateMerkleProof of a hash lock.
|
io.reactivex.Observable<StateMerkleProof<HashLockInfo>> |
hashLock(java.lang.String hash)
It returns the StateMerkleProof of a hash lock.
|
io.reactivex.Observable<StateMerkleProof<Metadata>> |
metadata(Metadata state)
It returns the StateMerkleProof of a metadata.
|
io.reactivex.Observable<StateMerkleProof<Metadata>> |
metadata(java.lang.String compositeHash)
It returns the StateMerkleProof of a metadata.
|
io.reactivex.Observable<StateMerkleProof<MosaicInfo>> |
mosaic(MosaicId mosaicId)
It returns the StateMerkleProof of a mosaic.
|
io.reactivex.Observable<StateMerkleProof<MosaicInfo>> |
mosaic(MosaicInfo state)
It returns the StateMerkleProof of a mosaic.
|
io.reactivex.Observable<StateMerkleProof<MosaicRestriction<?>>> |
mosaicRestriction(MosaicRestriction<?> state)
It returns the StateMerkleProof of a mosaic restriction.
|
io.reactivex.Observable<StateMerkleProof<MosaicRestriction<?>>> |
mosaicRestriction(java.lang.String compositeHash)
It returns the StateMerkleProof of a mosaic restriction.
|
io.reactivex.Observable<StateMerkleProof<MultisigAccountInfo>> |
multisig(Address address)
It returns the StateMerkleProof of a multisig account.
|
io.reactivex.Observable<StateMerkleProof<MultisigAccountInfo>> |
multisig(MultisigAccountInfo state)
It returns the StateMerkleProof of a multisig account.
|
io.reactivex.Observable<StateMerkleProof<NamespaceInfo>> |
namespace(NamespaceId namespaceId)
It returns the StateMerkleProof of a namespace.
|
io.reactivex.Observable<StateMerkleProof<NamespaceInfo>> |
namespace(NamespaceInfo state)
It returns the StateMerkleProof of a namespace.
|
io.reactivex.Observable<StateMerkleProof<SecretLockInfo>> |
secretLock(SecretLockInfo state)
It returns the StateMerkleProof of a secret lock.
|
io.reactivex.Observable<StateMerkleProof<SecretLockInfo>> |
secretLock(java.lang.String compositeHash)
It returns the StateMerkleProof of a secret lock.
|
public StateProofServiceImpl(RepositoryFactory repositoryFactory)
public io.reactivex.Observable<StateMerkleProof<MosaicInfo>> mosaic(MosaicId mosaicId)
StateProofServicemosaic in interface StateProofServicemosaicId - the mosaic id of the state to be loadedStateMerkleProofpublic io.reactivex.Observable<StateMerkleProof<MosaicInfo>> mosaic(MosaicInfo state)
StateProofServicemosaic in interface StateProofServicestate - the mosaic stateStateMerkleProofpublic io.reactivex.Observable<StateMerkleProof<MosaicRestriction<?>>> mosaicRestriction(java.lang.String compositeHash)
StateProofServicemosaicRestriction in interface StateProofServicecompositeHash - the restriction id of the state to be loadedStateMerkleProofpublic io.reactivex.Observable<StateMerkleProof<MosaicRestriction<?>>> mosaicRestriction(MosaicRestriction<?> state)
StateProofServicemosaicRestriction in interface StateProofServicestate - the mosaic restriction stateStateMerkleProofpublic io.reactivex.Observable<StateMerkleProof<HashLockInfo>> hashLock(java.lang.String hash)
StateProofServicehashLock in interface StateProofServicehash - the hash lock id of the state to be loadedStateMerkleProofpublic io.reactivex.Observable<StateMerkleProof<HashLockInfo>> hashLock(HashLockInfo state)
StateProofServicehashLock in interface StateProofServicestate - the hash lock state.StateMerkleProofpublic io.reactivex.Observable<StateMerkleProof<SecretLockInfo>> secretLock(java.lang.String compositeHash)
StateProofServicesecretLock in interface StateProofServicecompositeHash - the secret lock id of the state to be loadedStateMerkleProofpublic io.reactivex.Observable<StateMerkleProof<SecretLockInfo>> secretLock(SecretLockInfo state)
StateProofServicesecretLock in interface StateProofServicestate - the secret lock stateStateMerkleProofpublic io.reactivex.Observable<StateMerkleProof<Metadata>> metadata(java.lang.String compositeHash)
StateProofServicemetadata in interface StateProofServicecompositeHash - the metadata id of the state to be loadedStateMerkleProofpublic io.reactivex.Observable<StateMerkleProof<Metadata>> metadata(Metadata state)
StateProofServicemetadata in interface StateProofServicestate - the metadata stateStateMerkleProofpublic io.reactivex.Observable<StateMerkleProof<AccountRestrictions>> accountRestrictions(Address address)
StateProofServiceaccountRestrictions in interface StateProofServiceaddress - the account restriction address.StateMerkleProofpublic io.reactivex.Observable<StateMerkleProof<AccountRestrictions>> accountRestrictions(AccountRestrictions state)
StateProofServiceaccountRestrictions in interface StateProofServicestate - the account restriction state.StateMerkleProofpublic io.reactivex.Observable<StateMerkleProof<AccountInfo>> account(Address address)
StateProofServiceaccount in interface StateProofServiceaddress - the account address.StateMerkleProofpublic io.reactivex.Observable<StateMerkleProof<AccountInfo>> account(AccountInfo state)
StateProofServiceaccount in interface StateProofServicestate - the account state.StateMerkleProofpublic io.reactivex.Observable<StateMerkleProof<MultisigAccountInfo>> multisig(Address address)
StateProofServicemultisig in interface StateProofServiceaddress - the multisig account address.StateMerkleProofpublic io.reactivex.Observable<StateMerkleProof<MultisigAccountInfo>> multisig(MultisigAccountInfo state)
StateProofServicemultisig in interface StateProofServicestate - the multisig account state.StateMerkleProofpublic io.reactivex.Observable<StateMerkleProof<NamespaceInfo>> namespace(NamespaceId namespaceId)
StateProofServicenamespace in interface StateProofServicenamespaceId - the namespace id.StateMerkleProofpublic io.reactivex.Observable<StateMerkleProof<NamespaceInfo>> namespace(NamespaceInfo state)
StateProofServicenamespace in interface StateProofServicestate - the namespace state.StateMerkleProof