curl --request GET \
--url https://v1.orchestrator.rhinestone.dev/deposit-processor/deposits/{id}import requests
url = "https://v1.orchestrator.rhinestone.dev/deposit-processor/deposits/{id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://v1.orchestrator.rhinestone.dev/deposit-processor/deposits/{id}', 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/deposits/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://v1.orchestrator.rhinestone.dev/deposit-processor/deposits/{id}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://v1.orchestrator.rhinestone.dev/deposit-processor/deposits/{id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://v1.orchestrator.rhinestone.dev/deposit-processor/deposits/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"id": "12345",
"chain": "<string>",
"txHash": "<string>",
"token": "<string>",
"tokenSymbol": "USDC",
"tokenDecimals": 6,
"targetTokenSymbol": "USDC",
"targetTokenDecimals": 6,
"amount": "1000000000000000000",
"sender": "<string>",
"recipient": "<string>",
"depositAddress": "<string>",
"targetChain": "<string>",
"targetToken": "<string>",
"status": "pending",
"sourceTxHash": "<string>",
"destinationTxHash": "<string>",
"sourceAmount": "1000000000000000000",
"destinationAmount": "1000000000000000000",
"createdAt": "<string>",
"completedAt": "<string>",
"errorCode": "<string>",
"retryable": true,
"isSpam": true,
"sponsoredGasUsd": "0.42",
"sponsoredBridgeFeeUsd": "0.13",
"timing": {
"expectedSeconds": 42,
"softDelaySeconds": 90,
"escalatedDelaySeconds": 300
}
}{
"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>"
}
]
}{
"error": "<string>",
"details": [
{
"message": "<string>",
"path": [
"<string>"
],
"code": "<string>"
}
]
}Get a deposit
Returns a deposit for the authenticated project.
curl --request GET \
--url https://v1.orchestrator.rhinestone.dev/deposit-processor/deposits/{id}import requests
url = "https://v1.orchestrator.rhinestone.dev/deposit-processor/deposits/{id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://v1.orchestrator.rhinestone.dev/deposit-processor/deposits/{id}', 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/deposits/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://v1.orchestrator.rhinestone.dev/deposit-processor/deposits/{id}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://v1.orchestrator.rhinestone.dev/deposit-processor/deposits/{id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://v1.orchestrator.rhinestone.dev/deposit-processor/deposits/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"id": "12345",
"chain": "<string>",
"txHash": "<string>",
"token": "<string>",
"tokenSymbol": "USDC",
"tokenDecimals": 6,
"targetTokenSymbol": "USDC",
"targetTokenDecimals": 6,
"amount": "1000000000000000000",
"sender": "<string>",
"recipient": "<string>",
"depositAddress": "<string>",
"targetChain": "<string>",
"targetToken": "<string>",
"status": "pending",
"sourceTxHash": "<string>",
"destinationTxHash": "<string>",
"sourceAmount": "1000000000000000000",
"destinationAmount": "1000000000000000000",
"createdAt": "<string>",
"completedAt": "<string>",
"errorCode": "<string>",
"retryable": true,
"isSpam": true,
"sponsoredGasUsd": "0.42",
"sponsoredBridgeFeeUsd": "0.13",
"timing": {
"expectedSeconds": 42,
"softDelaySeconds": 90,
"escalatedDelaySeconds": 300
}
}{
"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>"
}
]
}{
"error": "<string>",
"details": [
{
"message": "<string>",
"path": [
"<string>"
],
"code": "<string>"
}
]
}Headers
API key for authentication (omit when sending Authorization)
"your-api-key"
Bearer platform token (e.g. forwarded by user-service). Takes precedence over x-api-key when both are present.
"Bearer eyJhbGciOi..."
Path Parameters
Deposit id. Returned by GET /deposits.
^\d+$"12345"
Response
The deposit
Deposit id. Pass to GET /deposits/{id}/quotes.
"12345"
Display symbol for token, resolved at read time. Null when the token could not be resolved — render the raw address.
"USDC"
Decimals for token, i.e. what makes amount and sourceAmount renderable — both are raw base units. Null when unresolved; render the raw integer rather than guessing 18.
6
Display symbol for targetToken. Null when unresolved.
"USDC"
Decimals for targetToken, applying to destinationAmount. Null when unresolved.
6
Numeric string representing a bigint value
^\d+$"1000000000000000000"
Destination-chain address that receives the funds. Falls back to the smart account for EVM/HyperCore/Tron when no distinct recipient is configured; for Solana it is the EVM recipient, never the internal swig.
Source-chain address that received the deposit (EVM smart account, Solana wallet PDA, or Tron deposit address).
pending, processing, completed, failed, rejected, ignored, expecting_refund, refunded, delayed, reconciliation_required Numeric string representing a bigint value
^\d+$"1000000000000000000"
Numeric string representing a bigint value
^\d+$"1000000000000000000"
USD value of gas absorbed for the user. Absent when no sponsorship accounting exists; "0" means nothing was sponsored.
"0.42"
USD value of the bridge fee absorbed for the user. Excludes app fees and sponsor surcharges. Absent when no accounting exists; "0" means nothing was sponsored.
"0.13"
Indicative, non-contractual duration estimate derived from qualifying recent completed deposits on the corridor or chain pair, falling back to the selected route’s indicative estimate when aggregate data is unavailable. Always expectedSeconds <= softDelaySeconds <= escalatedDelaySeconds. On a deposit the seconds are measured from its createdAt and are served only while it is still in flight (pending, processing, delayed); on a quote preview they describe the quoted route. Resolved per request, so it may change between calls, and absent whenever no estimate is available. Never a deadline, an expiry or a guarantee.
Show child attributes
Show child attributes
Was this page helpful?