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§

source

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

source

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

Trait Implementations§

source§

impl<Block: BlockT, AccountId, H256, IssueRequest> RuntimeApiInfo for dyn IssueApi<Block, AccountId, H256, IssueRequest>

source§

const ID: [u8; 8] = _

The identifier of the runtime api.
source§

const VERSION: u32 = 1u32

The version of the runtime api.

Implementors§