Predict smart account address
Predicts the address for a new OneBalance smart account based on the provided EVM-compatible signer addresses (session and admin). This allows you to determine the smart account’s on-chain address before its actual deployment. This predicted address serves as a primary identifier for the user within the OneBalance ecosystem.
Authorizations
The OneBalance API uses API keys to authenticate requests. All API requests require authentication using an API key passed in the x-api-key
header:
curl -X 'GET' \
'https://be.onebalance.io/api/path-to/endpoint' \
-H 'x-api-key: ${ONEBALANCE_API_KEY}' \
...
A public API key is available for testing purposes with limited usage: f9703eaqsbma20tmtphg2jirm0hk8z8v2hkodrfrvhfm6ziesi7p38u991bnih5f
.
All API requests must be made over HTTPS. Calls made over plain HTTP will fail. API requests without authentication will also fail.
Learn how to generate API access tokens at OneBalance Docs.
Body
The sessionAddress
is the address of the private key that is used to sign the signature required for quote execution.
The adminAddress
is the address of the private key that is the "admin" of the deployed smart contract wallet (can perform rage quit, withdraw, etc)
EVM signer addresses used for account creation and management.
Response
Predicted address
The response is of type object
.