OmnesMSA API Docs
Api reference

API Overview

Comprehensive API reference for the MSA (Modular Smart Account) API endpoints.

Flexible APIs for Account Abstraction wallet management, transaction execution, and blockchain interactions.

Endpoint Reference

APIMethodDescription
Predict WalletPOSTPredict wallet addresses before creation based on salt and custody type.
Create WalletPOSTDeploy new Account Abstraction wallets on the blockchain.
Check WalletPOSTVerify wallet existence and status on the blockchain.
Execute OperationPOSTExecute operations with human-readable parameters.
Execute EncodedPOSTExecute pre-encoded UserOperations.
Execute PasskeyPOSTExecute operations with passkey validation.
Estimate GasPOSTEstimate gas costs for operations before execution.
Read ContractPOSTRead smart contract state from the blockchain.
Get ReceiptPOSTGet transaction receipts by transaction hash.
Filter EventsPOSTFilter blockchain events based on specified criteria.
Sign MessagePOSTSign arbitrary messages with HSM/MPC keys.
Passkey HashPOSTGenerate passkey hashes for passkey-based operations.
Transact SignerPOSTExecute direct HSM/MPC transactions.
Unstuck TransactionPOSTResolve stuck transactions.
Add Event ABIPOSTAdd custom event ABIs to the system.
Add Error ABIPOSTAdd custom error ABIs to the system.

Authentication

All API endpoints require authentication using HSM/MPC credentials. Authentication is configured through the signer object in request settings.

Signer Configuration

The signer object requires a clientId and either a versionId (for HSM) or assetId (for MPC):

HSM Configuration:

{
  "signer": {
    "clientId": "your-fireblocks-client-id",
    "versionId": "1"
  }
}

MPC Configuration:

{
  "signer": {
    "clientId": "your-fireblocks-client-id",
    "assetId": "ETH"
  }
}

Please contact the MSA team for HSM/MPC credentials and API access.

Base URL

All API requests should be made to:

https://api.msa.omnes.tech

Rate Limits

The MSA API implements rate limiting to ensure fair usage:

TierRequests per MinuteRequests per Hour
Free601,000
Pro30010,000
Enterprise1,00050,000

Error Codes

Common HTTP status codes and their meanings:

CodeStatusDescription
200OKRequest successful
400Bad RequestInvalid request parameters
401UnauthorizedInvalid authentication credentials
422Unprocessable EntityRequest valid but execution failed
429Too Many RequestsRate limit exceeded
500Internal Server ErrorServer-side error

Supported Networks

NetworkChain IDRPC Endpoint
Polygon Amoy (Testnet)80002https://rpc-amoy.polygon.technology/
Polygon Mainnet137https://polygon-rpc.com/
Base Sepolia (Testnet)84532https://sepolia.base.org/
Base Mainnet8453https://mainnet.base.org/

Interactive Documentation

For a complete interactive experience with all endpoints, request/response schemas, and the ability to test API calls directly in your browser, visit the Interactive API Documentation.


๐Ÿš€ Ready to Get Started? Check out our Quick Start Guide or explore the Interactive API Documentation.