Get Account Balance

API Description

Retrieves account balance information for a specific address on a given chain. This endpoint provides detailed balance data including available balance, reserved balance, pending balance, and portfolio information for all tokens in the account.

HTTP Request

GET /v4/public/mm/account/wallet-balance

Request Parameters

Parameter
Type
Required
Description

chainId

uint64

Yes

Chain ID (e.g., 143 for Monad mainnet)

address

string

Yes

Trader wallet address (EVM address format)

Response Parameters

Parameter
Type
Description

address

string

The queried wallet address

portfolios

array

Array of portfolio information for each token

-> quote

string

Token contract address

-> decimals

number

Token decimal places

-> balance

string

Current available balance

-> pendingBalance

object

Pending balance information

-> -> timestamp

number

Pending balance timestamp

-> -> native

boolean

Whether the token is native (ETH, etc.)

-> -> amount

string

Pending amount

-> -> exemption

string

Exemption amount

-> totalInBalance

string

Total amount deposited into the account

-> totalOutBalance

string

Total amount withdrawn from the account

-> reservedBalance

string

Reserved balance (locked for orders/positions)

-> thresholdBalance

string

Minimum balance threshold

-> maxWithdrawable

string

Maximum amount that can be withdrawn

-> symbol

string

Token symbol (e.g., USDC, ETH)

-> imageUrl

string

Token image URL

-> currentPrice

number

Current token price

isBlacklisted

boolean

Whether the address is blacklisted

pendingDuration

string

Pending duration in seconds

Request Example

Python (requests)

Note: This endpoint requires API authentication. See Quick Start Guide for signature generation details.

Response Example

Success Response

Error Response

Notes

  • This endpoint requires API authentication (see Quick Start Guide)

  • Both chainId and address parameters are required

  • The address must be a valid EVM address format

  • Returns balance information for all tokens in the account on the specified chain

  • balance: Current available balance that can be used for trading

  • reservedBalance: Balance locked for open orders or positions

  • maxWithdrawable: Maximum amount that can be withdrawn (balance - reservedBalance)

  • pendingBalance: Balance that is pending (e.g., pending withdrawals)

  • isBlacklisted: Indicates if the address is blacklisted

  • pendingDuration: Duration in seconds for pending operations

  • Rate limit: 120 requests per minute

  • Success response has code: 0 (not 200)

Last updated