@safe-global/api-kit
TypeScript icon, indicating that this package has built-in type declarations

2.5.4 • Public • Published

Safe API Kit

npm Version GitHub Release GitHub

Software development kit that facilitates the interaction with the Safe Transaction Service API, allowing to propose and share transactions with the other signers of a Safe, sending the signatures to the service to collect them, getting information about a Safe (like reading the transaction history, pending transactions, enabled Modules and Guards, etc.), among other features.

Table of contents

Documentation

Head to the API Kit docs to learn more about how to use this SDK.

Installation

Install the package with yarn or npm:

yarn add @safe-global/api-kit
npm install @safe-global/api-kit

Quick Start

import SafeApiKit from '@safe-global/api-kit'

const apiKit = new SafeApiKit({
  chainId: 1n,
  // Optional. txServiceUrl must be used to set a custom service. For example on chains where Safe doesn't run services.
  txServiceUrl: 'https://safe-transaction-mainnet.safe.global'
})

Need Help or Have Questions?

If you have any doubts, questions, or need assistance, feel free to reach out! Here you will find how to get support.

Contributing

Please read our contribution guidelines before submitting any changes. We appreciate your help! 🙌

License

This library is released under MIT.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
2.5.42,038latest
2.5.5-alpha.02alpha

Version History

VersionDownloads (Last 7 Days)Published
2.5.5-alpha.02
2.5.42,038
2.5.31,798
2.5.2313
2.5.1251
2.5.030
2.4.61,551
2.4.5574
2.4.4304
2.4.3542
2.4.2206
2.4.1774
2.4.07
2.3.2339
2.3.2-alpha.00
2.3.1267
2.3.03,009
2.2.0543
2.1.0172
2.1.0-alpha.00
2.0.096
2.0.0-alpha.40
2.0.0-alpha.30
2.0.0-alpha.20
2.0.0-alpha.10
2.0.0-alpha.00
1.3.12,230
1.3.01,959
1.2.00
1.1.0330
1.0.10
1.0.01

Package Sidebar

Install

npm i @safe-global/api-kit

Weekly Downloads

16,197

Version

2.5.4

License

MIT

Unpacked Size

218 kB

Total Files

31

Last publish

Collaborators

  • daniel.somoza
  • yagopv
  • germartinez
  • dasanra