curl --request POST \
--url https://api.rheon.io/v1/deposit/status \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"provider": "lifi-aggregator",
"receipt": {
"txHash": "0x1111111111111111111111111111111111111111111111111111111111111111",
"logs": [
{
"address": "<string>",
"topics": [
"<string>"
]
}
]
},
"quote": {
"provider": "sprinter",
"outAmount": "4999750",
"validUntil": 1788799278,
"payload": "<unknown>",
"rheonCorridor": {
"sourceChain": 42161,
"destChain": 42161
},
"rheonTransfer": {
"fromAddress": "0x1111111111111111111111111111111111111111",
"toAddress": "0x1111111111111111111111111111111111111111",
"sourceChain": 42161,
"sourceToken": "0x1111111111111111111111111111111111111111",
"destChain": 42161,
"destToken": "0x1111111111111111111111111111111111111111",
"amount": "4980000"
},
"rheonClient": "acme",
"rheonSig": "5cdc0af7861b267c45c0feec1cd2689278c94d70a53108c8c1226da055a6e25e",
"executionDurationSeconds": 123
}
}
'import requests
url = "https://api.rheon.io/v1/deposit/status"
payload = {
"provider": "lifi-aggregator",
"receipt": {
"txHash": "0x1111111111111111111111111111111111111111111111111111111111111111",
"logs": [
{
"address": "<string>",
"topics": ["<string>"]
}
]
},
"quote": {
"provider": "sprinter",
"outAmount": "4999750",
"validUntil": 1788799278,
"payload": "<unknown>",
"rheonCorridor": {
"sourceChain": 42161,
"destChain": 42161
},
"rheonTransfer": {
"fromAddress": "0x1111111111111111111111111111111111111111",
"toAddress": "0x1111111111111111111111111111111111111111",
"sourceChain": 42161,
"sourceToken": "0x1111111111111111111111111111111111111111",
"destChain": 42161,
"destToken": "0x1111111111111111111111111111111111111111",
"amount": "4980000"
},
"rheonClient": "acme",
"rheonSig": "5cdc0af7861b267c45c0feec1cd2689278c94d70a53108c8c1226da055a6e25e",
"executionDurationSeconds": 123
}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
provider: 'lifi-aggregator',
receipt: {
txHash: '0x1111111111111111111111111111111111111111111111111111111111111111',
logs: [{address: '<string>', topics: ['<string>']}]
},
quote: {
provider: 'sprinter',
outAmount: '4999750',
validUntil: 1788799278,
payload: '<unknown>',
rheonCorridor: {sourceChain: 42161, destChain: 42161},
rheonTransfer: {
fromAddress: '0x1111111111111111111111111111111111111111',
toAddress: '0x1111111111111111111111111111111111111111',
sourceChain: 42161,
sourceToken: '0x1111111111111111111111111111111111111111',
destChain: 42161,
destToken: '0x1111111111111111111111111111111111111111',
amount: '4980000'
},
rheonClient: 'acme',
rheonSig: '5cdc0af7861b267c45c0feec1cd2689278c94d70a53108c8c1226da055a6e25e',
executionDurationSeconds: 123
}
})
};
fetch('https://api.rheon.io/v1/deposit/status', 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://api.rheon.io/v1/deposit/status",
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([
'provider' => 'lifi-aggregator',
'receipt' => [
'txHash' => '0x1111111111111111111111111111111111111111111111111111111111111111',
'logs' => [
[
'address' => '<string>',
'topics' => [
'<string>'
]
]
]
],
'quote' => [
'provider' => 'sprinter',
'outAmount' => '4999750',
'validUntil' => 1788799278,
'payload' => '<unknown>',
'rheonCorridor' => [
'sourceChain' => 42161,
'destChain' => 42161
],
'rheonTransfer' => [
'fromAddress' => '0x1111111111111111111111111111111111111111',
'toAddress' => '0x1111111111111111111111111111111111111111',
'sourceChain' => 42161,
'sourceToken' => '0x1111111111111111111111111111111111111111',
'destChain' => 42161,
'destToken' => '0x1111111111111111111111111111111111111111',
'amount' => '4980000'
],
'rheonClient' => 'acme',
'rheonSig' => '5cdc0af7861b267c45c0feec1cd2689278c94d70a53108c8c1226da055a6e25e',
'executionDurationSeconds' => 123
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$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://api.rheon.io/v1/deposit/status"
payload := strings.NewReader("{\n \"provider\": \"lifi-aggregator\",\n \"receipt\": {\n \"txHash\": \"0x1111111111111111111111111111111111111111111111111111111111111111\",\n \"logs\": [\n {\n \"address\": \"<string>\",\n \"topics\": [\n \"<string>\"\n ]\n }\n ]\n },\n \"quote\": {\n \"provider\": \"sprinter\",\n \"outAmount\": \"4999750\",\n \"validUntil\": 1788799278,\n \"payload\": \"<unknown>\",\n \"rheonCorridor\": {\n \"sourceChain\": 42161,\n \"destChain\": 42161\n },\n \"rheonTransfer\": {\n \"fromAddress\": \"0x1111111111111111111111111111111111111111\",\n \"toAddress\": \"0x1111111111111111111111111111111111111111\",\n \"sourceChain\": 42161,\n \"sourceToken\": \"0x1111111111111111111111111111111111111111\",\n \"destChain\": 42161,\n \"destToken\": \"0x1111111111111111111111111111111111111111\",\n \"amount\": \"4980000\"\n },\n \"rheonClient\": \"acme\",\n \"rheonSig\": \"5cdc0af7861b267c45c0feec1cd2689278c94d70a53108c8c1226da055a6e25e\",\n \"executionDurationSeconds\": 123\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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://api.rheon.io/v1/deposit/status")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"provider\": \"lifi-aggregator\",\n \"receipt\": {\n \"txHash\": \"0x1111111111111111111111111111111111111111111111111111111111111111\",\n \"logs\": [\n {\n \"address\": \"<string>\",\n \"topics\": [\n \"<string>\"\n ]\n }\n ]\n },\n \"quote\": {\n \"provider\": \"sprinter\",\n \"outAmount\": \"4999750\",\n \"validUntil\": 1788799278,\n \"payload\": \"<unknown>\",\n \"rheonCorridor\": {\n \"sourceChain\": 42161,\n \"destChain\": 42161\n },\n \"rheonTransfer\": {\n \"fromAddress\": \"0x1111111111111111111111111111111111111111\",\n \"toAddress\": \"0x1111111111111111111111111111111111111111\",\n \"sourceChain\": 42161,\n \"sourceToken\": \"0x1111111111111111111111111111111111111111\",\n \"destChain\": 42161,\n \"destToken\": \"0x1111111111111111111111111111111111111111\",\n \"amount\": \"4980000\"\n },\n \"rheonClient\": \"acme\",\n \"rheonSig\": \"5cdc0af7861b267c45c0feec1cd2689278c94d70a53108c8c1226da055a6e25e\",\n \"executionDurationSeconds\": 123\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.rheon.io/v1/deposit/status")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"provider\": \"lifi-aggregator\",\n \"receipt\": {\n \"txHash\": \"0x1111111111111111111111111111111111111111111111111111111111111111\",\n \"logs\": [\n {\n \"address\": \"<string>\",\n \"topics\": [\n \"<string>\"\n ]\n }\n ]\n },\n \"quote\": {\n \"provider\": \"sprinter\",\n \"outAmount\": \"4999750\",\n \"validUntil\": 1788799278,\n \"payload\": \"<unknown>\",\n \"rheonCorridor\": {\n \"sourceChain\": 42161,\n \"destChain\": 42161\n },\n \"rheonTransfer\": {\n \"fromAddress\": \"0x1111111111111111111111111111111111111111\",\n \"toAddress\": \"0x1111111111111111111111111111111111111111\",\n \"sourceChain\": 42161,\n \"sourceToken\": \"0x1111111111111111111111111111111111111111\",\n \"destChain\": 42161,\n \"destToken\": \"0x1111111111111111111111111111111111111111\",\n \"amount\": \"4980000\"\n },\n \"rheonClient\": \"acme\",\n \"rheonSig\": \"5cdc0af7861b267c45c0feec1cd2689278c94d70a53108c8c1226da055a6e25e\",\n \"executionDurationSeconds\": 123\n }\n}"
response = http.request(request)
puts response.read_body{
"environment": "sandbox",
"status": "pending",
"providerStatus": "<string>",
"txHashes": {
"origin": "<string>",
"delivered": "<string>"
},
"deliveredAmount": "100.134221"
}{
"environment": "sandbox",
"error": {
"code": "invalid_request",
"message": "amount must be a decimal string of the token's smallest unit.",
"fields": {
"applicantInfo.nationality": "iso3166_1_alpha2"
}
}
}{
"environment": "sandbox",
"error": {
"code": "invalid_request",
"message": "amount must be a decimal string of the token's smallest unit.",
"fields": {
"applicantInfo.nationality": "iso3166_1_alpha2"
}
}
}{
"environment": "sandbox",
"error": {
"code": "invalid_request",
"message": "amount must be a decimal string of the token's smallest unit.",
"fields": {
"applicantInfo.nationality": "iso3166_1_alpha2"
}
}
}{
"environment": "sandbox",
"error": {
"code": "invalid_request",
"message": "amount must be a decimal string of the token's smallest unit.",
"fields": {
"applicantInfo.nationality": "iso3166_1_alpha2"
}
}
}{
"environment": "sandbox",
"error": {
"code": "invalid_request",
"message": "amount must be a decimal string of the token's smallest unit.",
"fields": {
"applicantInfo.nationality": "iso3166_1_alpha2"
}
}
}Where a submitted deposit is by receipt
Stateless: derives the tracking reference from the source transaction hash and asks the provider that owns the route. Works for aggregator-routed transfers; a transfer whose reference lives in the receipt logs (the intents path) cannot be tracked here and is refused pointing at GET /v1/orders/. The quote is required as the proof the transfer is yours.
curl --request POST \
--url https://api.rheon.io/v1/deposit/status \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"provider": "lifi-aggregator",
"receipt": {
"txHash": "0x1111111111111111111111111111111111111111111111111111111111111111",
"logs": [
{
"address": "<string>",
"topics": [
"<string>"
]
}
]
},
"quote": {
"provider": "sprinter",
"outAmount": "4999750",
"validUntil": 1788799278,
"payload": "<unknown>",
"rheonCorridor": {
"sourceChain": 42161,
"destChain": 42161
},
"rheonTransfer": {
"fromAddress": "0x1111111111111111111111111111111111111111",
"toAddress": "0x1111111111111111111111111111111111111111",
"sourceChain": 42161,
"sourceToken": "0x1111111111111111111111111111111111111111",
"destChain": 42161,
"destToken": "0x1111111111111111111111111111111111111111",
"amount": "4980000"
},
"rheonClient": "acme",
"rheonSig": "5cdc0af7861b267c45c0feec1cd2689278c94d70a53108c8c1226da055a6e25e",
"executionDurationSeconds": 123
}
}
'import requests
url = "https://api.rheon.io/v1/deposit/status"
payload = {
"provider": "lifi-aggregator",
"receipt": {
"txHash": "0x1111111111111111111111111111111111111111111111111111111111111111",
"logs": [
{
"address": "<string>",
"topics": ["<string>"]
}
]
},
"quote": {
"provider": "sprinter",
"outAmount": "4999750",
"validUntil": 1788799278,
"payload": "<unknown>",
"rheonCorridor": {
"sourceChain": 42161,
"destChain": 42161
},
"rheonTransfer": {
"fromAddress": "0x1111111111111111111111111111111111111111",
"toAddress": "0x1111111111111111111111111111111111111111",
"sourceChain": 42161,
"sourceToken": "0x1111111111111111111111111111111111111111",
"destChain": 42161,
"destToken": "0x1111111111111111111111111111111111111111",
"amount": "4980000"
},
"rheonClient": "acme",
"rheonSig": "5cdc0af7861b267c45c0feec1cd2689278c94d70a53108c8c1226da055a6e25e",
"executionDurationSeconds": 123
}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
provider: 'lifi-aggregator',
receipt: {
txHash: '0x1111111111111111111111111111111111111111111111111111111111111111',
logs: [{address: '<string>', topics: ['<string>']}]
},
quote: {
provider: 'sprinter',
outAmount: '4999750',
validUntil: 1788799278,
payload: '<unknown>',
rheonCorridor: {sourceChain: 42161, destChain: 42161},
rheonTransfer: {
fromAddress: '0x1111111111111111111111111111111111111111',
toAddress: '0x1111111111111111111111111111111111111111',
sourceChain: 42161,
sourceToken: '0x1111111111111111111111111111111111111111',
destChain: 42161,
destToken: '0x1111111111111111111111111111111111111111',
amount: '4980000'
},
rheonClient: 'acme',
rheonSig: '5cdc0af7861b267c45c0feec1cd2689278c94d70a53108c8c1226da055a6e25e',
executionDurationSeconds: 123
}
})
};
fetch('https://api.rheon.io/v1/deposit/status', 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://api.rheon.io/v1/deposit/status",
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([
'provider' => 'lifi-aggregator',
'receipt' => [
'txHash' => '0x1111111111111111111111111111111111111111111111111111111111111111',
'logs' => [
[
'address' => '<string>',
'topics' => [
'<string>'
]
]
]
],
'quote' => [
'provider' => 'sprinter',
'outAmount' => '4999750',
'validUntil' => 1788799278,
'payload' => '<unknown>',
'rheonCorridor' => [
'sourceChain' => 42161,
'destChain' => 42161
],
'rheonTransfer' => [
'fromAddress' => '0x1111111111111111111111111111111111111111',
'toAddress' => '0x1111111111111111111111111111111111111111',
'sourceChain' => 42161,
'sourceToken' => '0x1111111111111111111111111111111111111111',
'destChain' => 42161,
'destToken' => '0x1111111111111111111111111111111111111111',
'amount' => '4980000'
],
'rheonClient' => 'acme',
'rheonSig' => '5cdc0af7861b267c45c0feec1cd2689278c94d70a53108c8c1226da055a6e25e',
'executionDurationSeconds' => 123
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$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://api.rheon.io/v1/deposit/status"
payload := strings.NewReader("{\n \"provider\": \"lifi-aggregator\",\n \"receipt\": {\n \"txHash\": \"0x1111111111111111111111111111111111111111111111111111111111111111\",\n \"logs\": [\n {\n \"address\": \"<string>\",\n \"topics\": [\n \"<string>\"\n ]\n }\n ]\n },\n \"quote\": {\n \"provider\": \"sprinter\",\n \"outAmount\": \"4999750\",\n \"validUntil\": 1788799278,\n \"payload\": \"<unknown>\",\n \"rheonCorridor\": {\n \"sourceChain\": 42161,\n \"destChain\": 42161\n },\n \"rheonTransfer\": {\n \"fromAddress\": \"0x1111111111111111111111111111111111111111\",\n \"toAddress\": \"0x1111111111111111111111111111111111111111\",\n \"sourceChain\": 42161,\n \"sourceToken\": \"0x1111111111111111111111111111111111111111\",\n \"destChain\": 42161,\n \"destToken\": \"0x1111111111111111111111111111111111111111\",\n \"amount\": \"4980000\"\n },\n \"rheonClient\": \"acme\",\n \"rheonSig\": \"5cdc0af7861b267c45c0feec1cd2689278c94d70a53108c8c1226da055a6e25e\",\n \"executionDurationSeconds\": 123\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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://api.rheon.io/v1/deposit/status")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"provider\": \"lifi-aggregator\",\n \"receipt\": {\n \"txHash\": \"0x1111111111111111111111111111111111111111111111111111111111111111\",\n \"logs\": [\n {\n \"address\": \"<string>\",\n \"topics\": [\n \"<string>\"\n ]\n }\n ]\n },\n \"quote\": {\n \"provider\": \"sprinter\",\n \"outAmount\": \"4999750\",\n \"validUntil\": 1788799278,\n \"payload\": \"<unknown>\",\n \"rheonCorridor\": {\n \"sourceChain\": 42161,\n \"destChain\": 42161\n },\n \"rheonTransfer\": {\n \"fromAddress\": \"0x1111111111111111111111111111111111111111\",\n \"toAddress\": \"0x1111111111111111111111111111111111111111\",\n \"sourceChain\": 42161,\n \"sourceToken\": \"0x1111111111111111111111111111111111111111\",\n \"destChain\": 42161,\n \"destToken\": \"0x1111111111111111111111111111111111111111\",\n \"amount\": \"4980000\"\n },\n \"rheonClient\": \"acme\",\n \"rheonSig\": \"5cdc0af7861b267c45c0feec1cd2689278c94d70a53108c8c1226da055a6e25e\",\n \"executionDurationSeconds\": 123\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.rheon.io/v1/deposit/status")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"provider\": \"lifi-aggregator\",\n \"receipt\": {\n \"txHash\": \"0x1111111111111111111111111111111111111111111111111111111111111111\",\n \"logs\": [\n {\n \"address\": \"<string>\",\n \"topics\": [\n \"<string>\"\n ]\n }\n ]\n },\n \"quote\": {\n \"provider\": \"sprinter\",\n \"outAmount\": \"4999750\",\n \"validUntil\": 1788799278,\n \"payload\": \"<unknown>\",\n \"rheonCorridor\": {\n \"sourceChain\": 42161,\n \"destChain\": 42161\n },\n \"rheonTransfer\": {\n \"fromAddress\": \"0x1111111111111111111111111111111111111111\",\n \"toAddress\": \"0x1111111111111111111111111111111111111111\",\n \"sourceChain\": 42161,\n \"sourceToken\": \"0x1111111111111111111111111111111111111111\",\n \"destChain\": 42161,\n \"destToken\": \"0x1111111111111111111111111111111111111111\",\n \"amount\": \"4980000\"\n },\n \"rheonClient\": \"acme\",\n \"rheonSig\": \"5cdc0af7861b267c45c0feec1cd2689278c94d70a53108c8c1226da055a6e25e\",\n \"executionDurationSeconds\": 123\n }\n}"
response = http.request(request)
puts response.read_body{
"environment": "sandbox",
"status": "pending",
"providerStatus": "<string>",
"txHashes": {
"origin": "<string>",
"delivered": "<string>"
},
"deliveredAmount": "100.134221"
}{
"environment": "sandbox",
"error": {
"code": "invalid_request",
"message": "amount must be a decimal string of the token's smallest unit.",
"fields": {
"applicantInfo.nationality": "iso3166_1_alpha2"
}
}
}{
"environment": "sandbox",
"error": {
"code": "invalid_request",
"message": "amount must be a decimal string of the token's smallest unit.",
"fields": {
"applicantInfo.nationality": "iso3166_1_alpha2"
}
}
}{
"environment": "sandbox",
"error": {
"code": "invalid_request",
"message": "amount must be a decimal string of the token's smallest unit.",
"fields": {
"applicantInfo.nationality": "iso3166_1_alpha2"
}
}
}{
"environment": "sandbox",
"error": {
"code": "invalid_request",
"message": "amount must be a decimal string of the token's smallest unit.",
"fields": {
"applicantInfo.nationality": "iso3166_1_alpha2"
}
}
}{
"environment": "sandbox",
"error": {
"code": "invalid_request",
"message": "amount must be a decimal string of the token's smallest unit.",
"fields": {
"applicantInfo.nationality": "iso3166_1_alpha2"
}
}
}Authorizations
Your API key, issued by us and shown once at creation.
Body
The provider from the quote.
"lifi-aggregator"
Show child attributes
Show child attributes
The quote this transfer was built from, unchanged. On /v1 the quote is the credential that proves the transfer is yours; a status read is answered even after the quote's price deadline has passed.
Show child attributes
Show child attributes
Response
The transfer status.
Which environment answered. sandbox: at least one money upstream is the provider's sandbox - no real money moves there, and the card corridor is the sandbox's asset (read GET /v1/config), not the documented production one. production: every configured upstream is real. Derived from the configured upstream hosts at boot, never a flag.
sandbox, production "sandbox"
pending: in flight. done: delivered (credit the user). failed: broke, nothing delivered. refunded: the money went back to the sender. expired: produced by no provider today, kept for older consumers. unknown: the provider answered a word outside this vocabulary (see providerStatus) - not terminal, poll again.
pending, done, failed, expired, refunded, unknown The provider's own status word, verbatim - present only when status is unknown.
Show child attributes
Show child attributes
What the destination transaction actually paid out, as a decimal string in the token's MAJOR unit (e.g. "100.134221"). Absent until reported. This is the figure to reconcile against; the quote's outAmount is a floor.
"100.134221"