Register a new account
curl --request POST \
--url https://v1.orchestrator.rhinestone.dev/deposit-processor/register \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '
{
"account": {
"address": "0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91",
"accountParams": {
"factory": "0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91",
"factoryData": "0x1234abcd",
"sessionDetails": {
"hashesAndChainIds": [
{
"chainId": 1,
"sessionDigest": "0x1234abcd"
}
],
"signature": "0x1234abcd"
}
},
"target": {
"chain": "eip155:8453",
"token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"outputTokenRules": [
{
"match": {
"symbol": "USDC"
},
"outputToken": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
},
{
"match": {
"chain": "eip155:10",
"symbol": "ETH"
},
"outputToken": "0x0000000000000000000000000000000000000000"
}
],
"rejectUnmapped": true
}
}
}
'import requests
url = "https://v1.orchestrator.rhinestone.dev/deposit-processor/register"
payload = { "account": {
"address": "0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91",
"accountParams": {
"factory": "0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91",
"factoryData": "0x1234abcd",
"sessionDetails": {
"hashesAndChainIds": [
{
"chainId": 1,
"sessionDigest": "0x1234abcd"
}
],
"signature": "0x1234abcd"
}
},
"target": {
"chain": "eip155:8453",
"token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"outputTokenRules": [
{
"match": { "symbol": "USDC" },
"outputToken": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
},
{
"match": {
"chain": "eip155:10",
"symbol": "ETH"
},
"outputToken": "0x0000000000000000000000000000000000000000"
}
],
"rejectUnmapped": True
}
} }
headers = {
"x-api-key": "<x-api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<x-api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
account: {
address: '0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91',
accountParams: {
factory: '0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91',
factoryData: '0x1234abcd',
sessionDetails: {
hashesAndChainIds: [{chainId: 1, sessionDigest: '0x1234abcd'}],
signature: '0x1234abcd'
}
},
target: {
chain: 'eip155:8453',
token: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913',
outputTokenRules: [
{
match: {symbol: 'USDC'},
outputToken: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
},
{
match: {chain: 'eip155:10', symbol: 'ETH'},
outputToken: '0x0000000000000000000000000000000000000000'
}
],
rejectUnmapped: true
}
}
})
};
fetch('https://v1.orchestrator.rhinestone.dev/deposit-processor/register', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://v1.orchestrator.rhinestone.dev/deposit-processor/register",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'account' => [
'address' => '0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91',
'accountParams' => [
'factory' => '0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91',
'factoryData' => '0x1234abcd',
'sessionDetails' => [
'hashesAndChainIds' => [
[
'chainId' => 1,
'sessionDigest' => '0x1234abcd'
]
],
'signature' => '0x1234abcd'
]
],
'target' => [
'chain' => 'eip155:8453',
'token' => '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913',
'outputTokenRules' => [
[
'match' => [
'symbol' => 'USDC'
],
'outputToken' => '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
],
[
'match' => [
'chain' => 'eip155:10',
'symbol' => 'ETH'
],
'outputToken' => '0x0000000000000000000000000000000000000000'
]
],
'rejectUnmapped' => true
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <x-api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://v1.orchestrator.rhinestone.dev/deposit-processor/register"
payload := strings.NewReader("{\n \"account\": {\n \"address\": \"0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91\",\n \"accountParams\": {\n \"factory\": \"0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91\",\n \"factoryData\": \"0x1234abcd\",\n \"sessionDetails\": {\n \"hashesAndChainIds\": [\n {\n \"chainId\": 1,\n \"sessionDigest\": \"0x1234abcd\"\n }\n ],\n \"signature\": \"0x1234abcd\"\n }\n },\n \"target\": {\n \"chain\": \"eip155:8453\",\n \"token\": \"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913\",\n \"outputTokenRules\": [\n {\n \"match\": {\n \"symbol\": \"USDC\"\n },\n \"outputToken\": \"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913\"\n },\n {\n \"match\": {\n \"chain\": \"eip155:10\",\n \"symbol\": \"ETH\"\n },\n \"outputToken\": \"0x0000000000000000000000000000000000000000\"\n }\n ],\n \"rejectUnmapped\": true\n }\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<x-api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://v1.orchestrator.rhinestone.dev/deposit-processor/register")
.header("x-api-key", "<x-api-key>")
.header("Content-Type", "application/json")
.body("{\n \"account\": {\n \"address\": \"0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91\",\n \"accountParams\": {\n \"factory\": \"0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91\",\n \"factoryData\": \"0x1234abcd\",\n \"sessionDetails\": {\n \"hashesAndChainIds\": [\n {\n \"chainId\": 1,\n \"sessionDigest\": \"0x1234abcd\"\n }\n ],\n \"signature\": \"0x1234abcd\"\n }\n },\n \"target\": {\n \"chain\": \"eip155:8453\",\n \"token\": \"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913\",\n \"outputTokenRules\": [\n {\n \"match\": {\n \"symbol\": \"USDC\"\n },\n \"outputToken\": \"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913\"\n },\n {\n \"match\": {\n \"chain\": \"eip155:10\",\n \"symbol\": \"ETH\"\n },\n \"outputToken\": \"0x0000000000000000000000000000000000000000\"\n }\n ],\n \"rejectUnmapped\": true\n }\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://v1.orchestrator.rhinestone.dev/deposit-processor/register")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<x-api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"account\": {\n \"address\": \"0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91\",\n \"accountParams\": {\n \"factory\": \"0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91\",\n \"factoryData\": \"0x1234abcd\",\n \"sessionDetails\": {\n \"hashesAndChainIds\": [\n {\n \"chainId\": 1,\n \"sessionDigest\": \"0x1234abcd\"\n }\n ],\n \"signature\": \"0x1234abcd\"\n }\n },\n \"target\": {\n \"chain\": \"eip155:8453\",\n \"token\": \"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913\",\n \"outputTokenRules\": [\n {\n \"match\": {\n \"symbol\": \"USDC\"\n },\n \"outputToken\": \"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913\"\n },\n {\n \"match\": {\n \"chain\": \"eip155:10\",\n \"symbol\": \"ETH\"\n },\n \"outputToken\": \"0x0000000000000000000000000000000000000000\"\n }\n ],\n \"rejectUnmapped\": true\n }\n }\n}"
response = http.request(request)
puts response.read_body{
"evmDepositAddress": "<string>",
"solanaDepositAddress": "<string>",
"tronDepositAddress": "<string>"
}{
"error": "<string>",
"details": [
{
"message": "<string>",
"path": [
"<string>"
],
"code": "<string>"
}
]
}{
"error": "<string>",
"details": [
{
"message": "<string>",
"path": [
"<string>"
],
"code": "<string>"
}
]
}{
"error": "<string>",
"details": [
{
"message": "<string>",
"path": [
"<string>"
],
"code": "<string>"
}
]
}Accounts
Register a new account
Register a new account with factory, factory data, session details, and target. target.chain must use a CAIP-2 chain identifier (for example “eip155:8453”).
POST
/
register
Register a new account
curl --request POST \
--url https://v1.orchestrator.rhinestone.dev/deposit-processor/register \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '
{
"account": {
"address": "0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91",
"accountParams": {
"factory": "0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91",
"factoryData": "0x1234abcd",
"sessionDetails": {
"hashesAndChainIds": [
{
"chainId": 1,
"sessionDigest": "0x1234abcd"
}
],
"signature": "0x1234abcd"
}
},
"target": {
"chain": "eip155:8453",
"token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"outputTokenRules": [
{
"match": {
"symbol": "USDC"
},
"outputToken": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
},
{
"match": {
"chain": "eip155:10",
"symbol": "ETH"
},
"outputToken": "0x0000000000000000000000000000000000000000"
}
],
"rejectUnmapped": true
}
}
}
'import requests
url = "https://v1.orchestrator.rhinestone.dev/deposit-processor/register"
payload = { "account": {
"address": "0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91",
"accountParams": {
"factory": "0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91",
"factoryData": "0x1234abcd",
"sessionDetails": {
"hashesAndChainIds": [
{
"chainId": 1,
"sessionDigest": "0x1234abcd"
}
],
"signature": "0x1234abcd"
}
},
"target": {
"chain": "eip155:8453",
"token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"outputTokenRules": [
{
"match": { "symbol": "USDC" },
"outputToken": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
},
{
"match": {
"chain": "eip155:10",
"symbol": "ETH"
},
"outputToken": "0x0000000000000000000000000000000000000000"
}
],
"rejectUnmapped": True
}
} }
headers = {
"x-api-key": "<x-api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<x-api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
account: {
address: '0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91',
accountParams: {
factory: '0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91',
factoryData: '0x1234abcd',
sessionDetails: {
hashesAndChainIds: [{chainId: 1, sessionDigest: '0x1234abcd'}],
signature: '0x1234abcd'
}
},
target: {
chain: 'eip155:8453',
token: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913',
outputTokenRules: [
{
match: {symbol: 'USDC'},
outputToken: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
},
{
match: {chain: 'eip155:10', symbol: 'ETH'},
outputToken: '0x0000000000000000000000000000000000000000'
}
],
rejectUnmapped: true
}
}
})
};
fetch('https://v1.orchestrator.rhinestone.dev/deposit-processor/register', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://v1.orchestrator.rhinestone.dev/deposit-processor/register",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'account' => [
'address' => '0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91',
'accountParams' => [
'factory' => '0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91',
'factoryData' => '0x1234abcd',
'sessionDetails' => [
'hashesAndChainIds' => [
[
'chainId' => 1,
'sessionDigest' => '0x1234abcd'
]
],
'signature' => '0x1234abcd'
]
],
'target' => [
'chain' => 'eip155:8453',
'token' => '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913',
'outputTokenRules' => [
[
'match' => [
'symbol' => 'USDC'
],
'outputToken' => '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
],
[
'match' => [
'chain' => 'eip155:10',
'symbol' => 'ETH'
],
'outputToken' => '0x0000000000000000000000000000000000000000'
]
],
'rejectUnmapped' => true
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <x-api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://v1.orchestrator.rhinestone.dev/deposit-processor/register"
payload := strings.NewReader("{\n \"account\": {\n \"address\": \"0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91\",\n \"accountParams\": {\n \"factory\": \"0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91\",\n \"factoryData\": \"0x1234abcd\",\n \"sessionDetails\": {\n \"hashesAndChainIds\": [\n {\n \"chainId\": 1,\n \"sessionDigest\": \"0x1234abcd\"\n }\n ],\n \"signature\": \"0x1234abcd\"\n }\n },\n \"target\": {\n \"chain\": \"eip155:8453\",\n \"token\": \"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913\",\n \"outputTokenRules\": [\n {\n \"match\": {\n \"symbol\": \"USDC\"\n },\n \"outputToken\": \"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913\"\n },\n {\n \"match\": {\n \"chain\": \"eip155:10\",\n \"symbol\": \"ETH\"\n },\n \"outputToken\": \"0x0000000000000000000000000000000000000000\"\n }\n ],\n \"rejectUnmapped\": true\n }\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<x-api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://v1.orchestrator.rhinestone.dev/deposit-processor/register")
.header("x-api-key", "<x-api-key>")
.header("Content-Type", "application/json")
.body("{\n \"account\": {\n \"address\": \"0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91\",\n \"accountParams\": {\n \"factory\": \"0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91\",\n \"factoryData\": \"0x1234abcd\",\n \"sessionDetails\": {\n \"hashesAndChainIds\": [\n {\n \"chainId\": 1,\n \"sessionDigest\": \"0x1234abcd\"\n }\n ],\n \"signature\": \"0x1234abcd\"\n }\n },\n \"target\": {\n \"chain\": \"eip155:8453\",\n \"token\": \"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913\",\n \"outputTokenRules\": [\n {\n \"match\": {\n \"symbol\": \"USDC\"\n },\n \"outputToken\": \"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913\"\n },\n {\n \"match\": {\n \"chain\": \"eip155:10\",\n \"symbol\": \"ETH\"\n },\n \"outputToken\": \"0x0000000000000000000000000000000000000000\"\n }\n ],\n \"rejectUnmapped\": true\n }\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://v1.orchestrator.rhinestone.dev/deposit-processor/register")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<x-api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"account\": {\n \"address\": \"0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91\",\n \"accountParams\": {\n \"factory\": \"0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91\",\n \"factoryData\": \"0x1234abcd\",\n \"sessionDetails\": {\n \"hashesAndChainIds\": [\n {\n \"chainId\": 1,\n \"sessionDigest\": \"0x1234abcd\"\n }\n ],\n \"signature\": \"0x1234abcd\"\n }\n },\n \"target\": {\n \"chain\": \"eip155:8453\",\n \"token\": \"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913\",\n \"outputTokenRules\": [\n {\n \"match\": {\n \"symbol\": \"USDC\"\n },\n \"outputToken\": \"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913\"\n },\n {\n \"match\": {\n \"chain\": \"eip155:10\",\n \"symbol\": \"ETH\"\n },\n \"outputToken\": \"0x0000000000000000000000000000000000000000\"\n }\n ],\n \"rejectUnmapped\": true\n }\n }\n}"
response = http.request(request)
puts response.read_body{
"evmDepositAddress": "<string>",
"solanaDepositAddress": "<string>",
"tronDepositAddress": "<string>"
}{
"error": "<string>",
"details": [
{
"message": "<string>",
"path": [
"<string>"
],
"code": "<string>"
}
]
}{
"error": "<string>",
"details": [
{
"message": "<string>",
"path": [
"<string>"
],
"code": "<string>"
}
]
}{
"error": "<string>",
"details": [
{
"message": "<string>",
"path": [
"<string>"
],
"code": "<string>"
}
]
}Headers
API key for authentication
Example:
"your-api-key"
API version identifier (e.g. "2026-04.amazon"). Optional today, will become required in a future release.
Pattern:
^\d{4}-\d{2}\.[a-z0-9]+$Example:
"2026-04.amazon"
Body
application/json
Show child attributes
Show child attributes
Was this page helpful?
⌘I