Trait KeysBetaApi

Source
pub trait KeysBetaApi: Send + Sync {
    // Required methods
    fn get_mpc_keys_list<'life0, 'async_trait>(
        &'life0 self,
    ) -> Pin<Box<dyn Future<Output = Result<GetMpcKeysResponse, Error<GetMpcKeysListError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn get_mpc_keys_list_by_user<'life0, 'async_trait>(
        &'life0 self,
        params: GetMpcKeysListByUserParams,
    ) -> Pin<Box<dyn Future<Output = Result<GetMpcKeysResponse, Error<GetMpcKeysListByUserError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn get_mpc_keys_list<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<GetMpcKeysResponse, Error<GetMpcKeysListError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

GET /keys/mpc/list

Returns a list of MPC signing keys of the workspace. For each key, the list of players associated with it is attached. Note: This endpoint is currently in beta and might be subject to changes.

Source

fn get_mpc_keys_list_by_user<'life0, 'async_trait>( &'life0 self, params: GetMpcKeysListByUserParams, ) -> Pin<Box<dyn Future<Output = Result<GetMpcKeysResponse, Error<GetMpcKeysListByUserError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

GET /keys/mpc/list/{userId}

Returns a list of MPC signing keys of a specific user. For each key, the list of players associated with it is attached. Note: This endpoint is currently in beta and might be subject to changes.

Implementors§