POST
/
account
/
predict-address
curl --request POST \
  --url https://be.onebalance.io/api/account/predict-address \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "sessionAddress": "0x1cBFbFd62a276BF6D79d504eA4CA75a7baDcf5b1",
  "adminAddress": "0xc162a3cE45ad151eeCd0a5532D6E489D034aB3B8"
}'
{
  "predictedAddress": "0xE20295ec513DEf805D9c3083b0C8EaB64692D764"
}

Authorizations

x-api-key
string
header
required

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

application/json

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

201
application/json

Predicted address

The response is of type object.