Skip to Content
Developer DocumentationWallet APIWallet API

Wallet API

The Wallet API allows you to programmatically transfer and withdraw MYRC tokens. Perfect for building wallets, payment systems, or any application requiring stablecoin functionality.

Endpoints

EndpointMethodDescription
/v1/wallet/addressGETGet your wallet deposit address
/v1/wallet/balanceGETGet your wallet balance
/v1/wallet/transactionsGETList wallet transactions
/v1/wallet/networksGETGet supported networks
/v1/wallet/token/transferPOSTTransfer tokens to external address
/v1/wallet/bank-accountsGETList linked bank accounts
/v1/wallet/fiat/withdrawPOSTWithdraw fiat to bank account

Overview

What is MYRC?

MYRC is a Malaysian Ringgit-backed stablecoin where 1 MYRC = 1 MYR. It enables instant, low-cost transfers across supported blockchain networks.

Supported Networks

NetworkChain IDToken Contract
Ethereum10x...
Arbitrum One421610x...
Solana-MYRC...

Quick Example

Transfer Tokens

curl -X POST "https://api.blox.my/v1/wallet/token/transfer" \ -H "blox-api-key: $BLOX_API_KEY" \ -H "Content-Type: application/json" \ -H "Content-Digest: sha-256=:$CONTENT_DIGEST:" \ -H "Signature-Input: sig1=(@method @path content-digest content-type);created=$TIMESTAMP;keyid=\"$KEY_ID\";alg=\"ed25519\"" \ -H "Signature: sig1=:$SIGNATURE:" \ -d '{ "tokenId": "550e8400-e29b-41d4-a716-446655440000", "addressTo": "0x742d35Cc6634C0532925a3b844Bc9e7595f...", "amount": 10000 }'

Withdraw to Bank

curl -X POST "https://api.blox.my/v1/wallet/fiat/withdraw" \ -H "blox-api-key: $BLOX_API_KEY" \ -H "Content-Type: application/json" \ -H "Content-Digest: sha-256=:$CONTENT_DIGEST:" \ -H "Signature-Input: sig1=(@method @path content-digest content-type);created=$TIMESTAMP;keyid=\"$KEY_ID\";alg=\"ed25519\"" \ -H "Signature: sig1=:$SIGNATURE:" \ -d '{ "bankAccountId": "ba_123456", "amount": 50000 }'

Authentication

All Wallet API requests require:

  1. API Key - Via blox-api-key header
  2. Request Signature - RFC 9421 HTTP Message Signature for POST requests

Learn about authentication →

Rate Limits

EnvironmentLimit
Sandbox100 requests/minute
Production1000 requests/minute

View rate limit details →

Last updated