Application Binary Interface (ABI)
The ABI defines how to interact with the mantraUSD smart contract. This page provides the contract interface and function signatures.Contract Address
Address:0xd2b95283011E47257917770D28Bb3EE44c849f6F
View on Blockscout
Standard ERC-20 Functions
balanceOf
Get the token balance of an address.account(address): The address to query
uint256: The token balance
totalSupply
Get the total supply of mantraUSD tokens.uint256: The total token supply
transfer
Transfer tokens to another address.to(address): The recipient addressamount(uint256): The amount to transfer
bool: Success status
approve
Approve another address to spend tokens on your behalf.spender(address): The address authorized to spendamount(uint256): The maximum amount that can be spent
bool: Success status
transferFrom
Transfer tokens from one address to another (requires approval).from(address): The sender addressto(address): The recipient addressamount(uint256): The amount to transfer
bool: Success status
allowance
Check the amount of tokens a spender is allowed to spend.owner(address): The token owner addressspender(address): The spender address
uint256: The approved amount
Events
Transfer
Emitted when tokens are transferred.Approval
Emitted when an approval is set.Custom Functions
The exact custom functions depend on the contract implementation. Check the verified contract source code on Blockscout for the complete ABI, or refer to the contract documentation.
Getting the Full ABI
To get the complete ABI:- Visit the contract on Blockscout
- Navigate to the “Contract” tab
- Copy the ABI from the verified contract source
Usage Examples
Check Balance
Transfer Tokens
Related Resources
- Integration Guide - Integration examples
- Security - Security information