AxelarJS SDK
The AxelarJS SDK is an npm library that includes a collection of APIs and query tools.
The package can be installed into your dApp as a project dependency with:
npm i @axelar-network/axelarjs-sdk
Current modules:
-
AxelarAssetTransfer- Used for cross-chain token transfer via deposit address generation.
- Token Transfer via Deposit Address.
-
AxelarGMPRecoveryAPI- API library to track and recover (if needed) GMP transactions (both
callContractandcallContractWithToken). - Transactions are indexed by the transaction hash initiated on the source chain when invoking either
callContractorcallContractWithToken. - GMP transaction status and recovery.
- API library to track and recover (if needed) GMP transactions (both
-
AxelarQueryAPI- Collection of helpful predefined queries into the network, e.g., transaction fees for token transfers, cross-chain gas prices for GMP transactions, denom conversions, etc.
- Axelar Query API.