Trait DAppConnectionsApi

Source
pub trait DAppConnectionsApi: Send + Sync {
    // Required methods
    fn create<'life0, 'async_trait>(
        &'life0 self,
        params: CreateParams,
    ) -> Pin<Box<dyn Future<Output = Result<CreateConnectionResponse, Error<CreateError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn get<'life0, 'async_trait>(
        &'life0 self,
        params: GetParams,
    ) -> Pin<Box<dyn Future<Output = Result<GetConnectionsResponse, Error<GetError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn remove<'life0, 'async_trait>(
        &'life0 self,
        params: RemoveParams,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error<RemoveError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn submit<'life0, 'async_trait>(
        &'life0 self,
        params: SubmitParams,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error<SubmitError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn create<'life0, 'async_trait>( &'life0 self, params: CreateParams, ) -> Pin<Box<dyn Future<Output = Result<CreateConnectionResponse, Error<CreateError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

POST /connections/wc

Initiate a new Web3 connection. * Note: After this succeeds, make a request to PUT /v1/connections/wc/{id} (below) to approve or reject the new Web3 connection. Learn more about Fireblocks Wallet Link in the following guide.
Endpoint Permission: Admin, Non-Signing Admin.

Source

fn get<'life0, 'async_trait>( &'life0 self, params: GetParams, ) -> Pin<Box<dyn Future<Output = Result<GetConnectionsResponse, Error<GetError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

GET /connections

List all open Web3 connections.
Endpoint Permission: Admin, Non-Signing Admin.

Source

fn remove<'life0, 'async_trait>( &'life0 self, params: RemoveParams, ) -> Pin<Box<dyn Future<Output = Result<(), Error<RemoveError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

DELETE /connections/wc/{id}

Remove an existing Web3 connection.
Endpoint Permission: Admin, Non-Signing Admin.

Source

fn submit<'life0, 'async_trait>( &'life0 self, params: SubmitParams, ) -> Pin<Box<dyn Future<Output = Result<(), Error<SubmitError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

PUT /connections/wc/{id}

Submit a response to approve or reject an initiated Web3 connection.

  • Note: This call is used to complete your POST /v1/connections/wc/ request. After this succeeds, your new Web3 connection is created and functioning.
    Endpoint Permission: Admin, Non-Signing Admin.

Implementors§