Accounts
Prepare account registration
Changed onReturns a deposit address or the details needed to register the account. Existing account ownership, kind, and destination are immutable; a conflicting request is refused before session details are created.
post/setup-account
Request
- Base URLhttps://v1.orchestrator.rhinestone.dev/deposit-processor
- Auth
- API key in header x-api-key
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
x-api-keystring
API key for authentication
Example:your-api-key
x-api-versionstring
API version identifier (e.g. "2026-04.amazon"). Optional today, will become required in a future release.
Example:2026-04.amazon
Request body
Example request
{
"ownerAddress": "0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91",
"sessionOwnerAddress": "0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91",
"targetChain": "eip155:8453",
"outputTokenRules": [
{
"match": {
"symbol": "USDC"
},
"outputToken": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
}
],
"signerAddress": "0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91"
}Response
Account setup result
Example response
{
"smartAccount": "0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91",
"accountParams": {
"factory": "0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91",
"factoryData": "0x1234abcd"
},
"sessionDetailsUnsigned": {
"hashesAndChainIds": [
{
"sessionDigest": "0x1234abcd"
}
]
}
}Changes
- info
the endpoint scheme security
internalProjectBearerwas added to the API - info
the endpoint scheme security
tenantApiKeywas added to the API - info
the
headerrequest parameterx-api-keybecame optional - info
added the non-success response with the status
- info
- info
added the non-success response with the status
- info
added the non-success response with the status
- info