Skip to content

wallet_getCapabilities

Gets supported capabilities of the global wallet.

Request

type Request = {
  method: 'wallet_getCapabilities',
}

Response

type Response = {
  capabilities: {
    atomicBatch: {
      supported: true
    }
    createAccount: {
      supported: true
    },
    permissions: {
      supported: true
    }
  }
}

Example

import RapidfireID from '@rapidfire/id'
 
const rapidfire = new RapidfireID()
const provider = rapidfire.getEthereumProvider()
 
const capabilities = await provider.request({ 
  method: 'wallet_getCapabilities', 
})