- EVM address format maps to multiple chains by design.
# SDK method (no HTTP endpoint)
# Use JavaScript snippet instead.
Example success response
{
"chains": [
"base",
"ethereum",
"arbitrum"
],
"note": "Multiple chains use this address format. Specify chain explicitly."
}Example failure responses
Failure
{
"code": "INVALID_PARAMS",
"message": "address is required."
}Recovery: Provide a non-empty address string.
To Raw Units
SDK methodCALLmoney.toRawUnits
- Result is bigint-safe. UI exposes both decimal string and bigint literal form.
# SDK method (no HTTP endpoint)
# Use JavaScript snippet instead.
Example success response
{
"raw": "25000000",
"rawBigintLiteral": "25000000n"
}Example failure responses
Failure
{
"code": "INVALID_PARAMS",
"message": "Provide either \"decimals\" or \"chain\" (to look up token decimals)"
}Recovery: Pass `decimals`, or pass configured `chain` + token.
Failure
{
"code": "CHAIN_NOT_CONFIGURED",
"message": "Chain \"base\" is not configured."
}Recovery: Run setup first: await money.setup({ chain: "base", network: "mainnet" })
To Human Units
SDK methodCALLmoney.toHumanUnits
- Inverse of `toRawUnits` when decimals context matches.
# SDK method (no HTTP endpoint)
# Use JavaScript snippet instead.
Example success response
{
"human": "25"
}Example failure responses
Failure
{
"code": "INVALID_PARAMS",
"message": "Provide either \"decimals\" or \"chain\" (to look up token decimals)"
}Recovery: Pass `decimals`, or pass configured `chain` + token.
Failure
{
"code": "TOKEN_NOT_FOUND",
"message": "Cannot resolve decimals for token \"USDC\" on chain \"base\"."
}Recovery: Register token alias with decimals first, or pass decimals explicitly.