Meta API
Browser-compatible meta-transaction client for AzothPay Gasless UX for subscriptions, payments, deposits & withdrawals – powered by EIP-712 and a relayer network.
📦 Installation & Initialization
npm install @azothpay/api ethersimport { AzothPayMetaApiClient } from '@azothpay/api/browser';
const metaClient = new AzothPayMetaApiClient(
'https://azothpay.com', // production endpoint
'bsc-usdt', // 'bsc-usdc' | 'bsc-usdt' | 'pol-usdc'| 'pol-usdt'
'your-api-key' // issued after KYB and onboarding
);Constructor Parameters
Param
Required
Description
🔑 Meta-Transaction Concept in AzothPay
📚 Method Overview
1. Prepare Meta-Transactions (off-chain)
Method
Params
Returns
2. Signing (client-side, EIP-712)
Param
Type
Description
3. Execute Meta-Transaction (via relayer)
🚀 Convenience “All-in-One” Methods
Method
Example: Gasless Subscription
🔁 Additional Methods
Method
Description
⚠️ Important Notes
🛡️ Security & Compatibility
Last updated