Skip to content

RabbyHub/rabby-api

Repository files navigation

rabby-api

Install

npm install @rabby-wallet/rabby-api @debank/common

Usage

import { OpenApiService } from '@rabby-wallet/rabby-api';
import { WebSignApiPlugin } from '@rabby-wallet/rabby-api/dist/plugins/web-sign.ts';

const service = new OpenApiService({
  store: {
    host: 'https://api.rabby.io',
  },
  // you can also customize plugin as you requirement
  plugin: WebSignApiPlugin,
});

// init service
await service.init();

// call api
await service.getTotalBalance('0x1234');

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages