Get Config
Usage
import Mnee from '@mnee/ts-sdk';
const config = {
environment: 'sandbox', // or 'production'
apiKey: 'your-api-key', // optional
};
const mnee = new Mnee(config);
mnee.config().then(mneeConfig => {
console.log('MNEE Configuration:', mneeConfig);
});Response
Sample Response
{
"approver": "020a177d6a5e6f3a8689acd2e313bd1cf0dcf5a243d1cc67b7218602aee9e04b2f",
"feeAddress": "19Vq2TV8aVhFNLQkhDMdnEQ7zT96x6F3PK",
"burnAddress": "1FGEBTUu7EqWWK5DKrG6pxjEGLahpATnA8",
"mintAddress": "1inHbiwj2jrEcZPiSYnfgJ8FmS1Bmk4Dh",
"fees": [
{ "min": 0, "max": 1000000, "fee": 100 },
{ "min": 1000001, "max": 9007199254740991, "fee": 1000 }
],
"decimals": 5,
"tokenId": "ae59f3b898ec61acbdb6cc7a245fabeded0c094bf046f35206a3aec60ef88127_0"
}Configuration Properties
Common Use Cases
Calculate Transaction Fees
Verify Token Configuration
Check Special Addresses
Validate Approver Key
Notes
See Also
Last updated