Trait issue_rpc_runtime_api::IssueApi
source · pub trait IssueApi<Block: BlockT, AccountId, H256, IssueRequest>: Core<Block>where
AccountId: Codec,
H256: Codec,
IssueRequest: Codec,{
// Provided methods
fn get_issue_requests(
&self,
__runtime_api_at_param__: <Block as BlockT>::Hash,
account_id: AccountId
) -> Result<Vec<H256>, ApiError> { ... }
fn get_vault_issue_requests(
&self,
__runtime_api_at_param__: <Block as BlockT>::Hash,
vault_id: AccountId
) -> Result<Vec<H256>, ApiError> { ... }
}
Provided Methods§
sourcefn get_issue_requests(
&self,
__runtime_api_at_param__: <Block as BlockT>::Hash,
account_id: AccountId
) -> Result<Vec<H256>, ApiError>
fn get_issue_requests( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, account_id: AccountId ) -> Result<Vec<H256>, ApiError>
Get all issue requests for a particular account
sourcefn get_vault_issue_requests(
&self,
__runtime_api_at_param__: <Block as BlockT>::Hash,
vault_id: AccountId
) -> Result<Vec<H256>, ApiError>
fn get_vault_issue_requests( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, vault_id: AccountId ) -> Result<Vec<H256>, ApiError>
Get all issue requests for a particular vault