Safe API Kit
safe.kaia.io will sunset on August 9, 2026. Please use Safe Wallet for Kaia Network at app.safe.global to manage your accounts going forward. Your existing Safe Accounts will be automatically compatible with Safe Wallet.
API Kit helps you interact securely with the Safe Transaction Service. Valid signers can propose and share transactions, collect signatures off-chain, and read Safe information (history, pending transactions, modules, guards, and more).
Kaia chain IDs: 8217 (Mainnet), 1001 (Kairos). As safe.kaia.io sunsets, prefer Safe Global Transaction Service configuration for supported chains. If you still need a custom txServiceUrl, confirm the endpoint you use remains available after the migration.
Quickstart
By the end of this guide, you will propose a transaction to the service and collect owner signatures for execution.
Prerequisites
- Node.js and npm
- A Safe with several signers on Kairos (or Mainnet)
Set up environment
Step 1: Create a project directory
mkdir kaiasafe-api-kitcd kaiasafe-api-kit
Step 2: Initialize an npm project
npm init -y
Step 3: Install dependencies
- npm
- yarn
npm install @safe-global/api-kit@2.4.2 @safe-global/protocol-kit@4.0.2 @safe-global/safe-core-sdk-types@5.0.2
yarn add @safe-global/api-kit@2.4.2 @safe-global/protocol-kit@4.0.2 @safe-global/safe-core-sdk-types@5.0.2