curl --request POST \
--url https://calibri.io/api/v2/atlas/account/wallet/relay \
--header 'Content-Type: application/json' \
--header 'X-Auth-Apikey: <api-key>' \
--data '
{
"data": "0x095ea7b3…",
"safe": "0x0DECE7d83f8D47CD8dD8278c0F22c361C58577BD",
"signature": "0x7b21…",
"to": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
"operation": 0,
"quote_id": "6c1f0a52-4b1e-4f0e-9d7a-2a1b3c4d5e6f",
"value": "0"
}
'import requests
url = "https://calibri.io/api/v2/atlas/account/wallet/relay"
payload = {
"data": "0x095ea7b3…",
"safe": "0x0DECE7d83f8D47CD8dD8278c0F22c361C58577BD",
"signature": "0x7b21…",
"to": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
"operation": 0,
"quote_id": "6c1f0a52-4b1e-4f0e-9d7a-2a1b3c4d5e6f",
"value": "0"
}
headers = {
"X-Auth-Apikey": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-Auth-Apikey': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
data: '0x095ea7b3…',
safe: '0x0DECE7d83f8D47CD8dD8278c0F22c361C58577BD',
signature: '0x7b21…',
to: '0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359',
operation: 0,
quote_id: '6c1f0a52-4b1e-4f0e-9d7a-2a1b3c4d5e6f',
value: '0'
})
};
fetch('https://calibri.io/api/v2/atlas/account/wallet/relay', 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://calibri.io/api/v2/atlas/account/wallet/relay",
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([
'data' => '0x095ea7b3…',
'safe' => '0x0DECE7d83f8D47CD8dD8278c0F22c361C58577BD',
'signature' => '0x7b21…',
'to' => '0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359',
'operation' => 0,
'quote_id' => '6c1f0a52-4b1e-4f0e-9d7a-2a1b3c4d5e6f',
'value' => '0'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Auth-Apikey: <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://calibri.io/api/v2/atlas/account/wallet/relay"
payload := strings.NewReader("{\n \"data\": \"0x095ea7b3…\",\n \"safe\": \"0x0DECE7d83f8D47CD8dD8278c0F22c361C58577BD\",\n \"signature\": \"0x7b21…\",\n \"to\": \"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359\",\n \"operation\": 0,\n \"quote_id\": \"6c1f0a52-4b1e-4f0e-9d7a-2a1b3c4d5e6f\",\n \"value\": \"0\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-Auth-Apikey", "<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://calibri.io/api/v2/atlas/account/wallet/relay")
.header("X-Auth-Apikey", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"data\": \"0x095ea7b3…\",\n \"safe\": \"0x0DECE7d83f8D47CD8dD8278c0F22c361C58577BD\",\n \"signature\": \"0x7b21…\",\n \"to\": \"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359\",\n \"operation\": 0,\n \"quote_id\": \"6c1f0a52-4b1e-4f0e-9d7a-2a1b3c4d5e6f\",\n \"value\": \"0\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://calibri.io/api/v2/atlas/account/wallet/relay")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-Auth-Apikey"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"data\": \"0x095ea7b3…\",\n \"safe\": \"0x0DECE7d83f8D47CD8dD8278c0F22c361C58577BD\",\n \"signature\": \"0x7b21…\",\n \"to\": \"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359\",\n \"operation\": 0,\n \"quote_id\": \"6c1f0a52-4b1e-4f0e-9d7a-2a1b3c4d5e6f\",\n \"value\": \"0\"\n}"
response = http.request(request)
puts response.read_body{
"tx": "0x7d1e…"
}{
"errors": [
"account.custody.deposits_disabled"
]
}Relay a Safe transaction
Gasless relay for any Safe transaction you have signed — setup approvals, redeeming winnings, or moving USDC out. The operator executes and pays the gas; it cannot act without your signature. The Safe must be your own.
curl --request POST \
--url https://calibri.io/api/v2/atlas/account/wallet/relay \
--header 'Content-Type: application/json' \
--header 'X-Auth-Apikey: <api-key>' \
--data '
{
"data": "0x095ea7b3…",
"safe": "0x0DECE7d83f8D47CD8dD8278c0F22c361C58577BD",
"signature": "0x7b21…",
"to": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
"operation": 0,
"quote_id": "6c1f0a52-4b1e-4f0e-9d7a-2a1b3c4d5e6f",
"value": "0"
}
'import requests
url = "https://calibri.io/api/v2/atlas/account/wallet/relay"
payload = {
"data": "0x095ea7b3…",
"safe": "0x0DECE7d83f8D47CD8dD8278c0F22c361C58577BD",
"signature": "0x7b21…",
"to": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
"operation": 0,
"quote_id": "6c1f0a52-4b1e-4f0e-9d7a-2a1b3c4d5e6f",
"value": "0"
}
headers = {
"X-Auth-Apikey": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-Auth-Apikey': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
data: '0x095ea7b3…',
safe: '0x0DECE7d83f8D47CD8dD8278c0F22c361C58577BD',
signature: '0x7b21…',
to: '0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359',
operation: 0,
quote_id: '6c1f0a52-4b1e-4f0e-9d7a-2a1b3c4d5e6f',
value: '0'
})
};
fetch('https://calibri.io/api/v2/atlas/account/wallet/relay', 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://calibri.io/api/v2/atlas/account/wallet/relay",
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([
'data' => '0x095ea7b3…',
'safe' => '0x0DECE7d83f8D47CD8dD8278c0F22c361C58577BD',
'signature' => '0x7b21…',
'to' => '0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359',
'operation' => 0,
'quote_id' => '6c1f0a52-4b1e-4f0e-9d7a-2a1b3c4d5e6f',
'value' => '0'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Auth-Apikey: <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://calibri.io/api/v2/atlas/account/wallet/relay"
payload := strings.NewReader("{\n \"data\": \"0x095ea7b3…\",\n \"safe\": \"0x0DECE7d83f8D47CD8dD8278c0F22c361C58577BD\",\n \"signature\": \"0x7b21…\",\n \"to\": \"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359\",\n \"operation\": 0,\n \"quote_id\": \"6c1f0a52-4b1e-4f0e-9d7a-2a1b3c4d5e6f\",\n \"value\": \"0\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-Auth-Apikey", "<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://calibri.io/api/v2/atlas/account/wallet/relay")
.header("X-Auth-Apikey", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"data\": \"0x095ea7b3…\",\n \"safe\": \"0x0DECE7d83f8D47CD8dD8278c0F22c361C58577BD\",\n \"signature\": \"0x7b21…\",\n \"to\": \"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359\",\n \"operation\": 0,\n \"quote_id\": \"6c1f0a52-4b1e-4f0e-9d7a-2a1b3c4d5e6f\",\n \"value\": \"0\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://calibri.io/api/v2/atlas/account/wallet/relay")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-Auth-Apikey"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"data\": \"0x095ea7b3…\",\n \"safe\": \"0x0DECE7d83f8D47CD8dD8278c0F22c361C58577BD\",\n \"signature\": \"0x7b21…\",\n \"to\": \"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359\",\n \"operation\": 0,\n \"quote_id\": \"6c1f0a52-4b1e-4f0e-9d7a-2a1b3c4d5e6f\",\n \"value\": \"0\"\n}"
response = http.request(request)
puts response.read_body{
"tx": "0x7d1e…"
}{
"errors": [
"account.custody.deposits_disabled"
]
}Authorizations
HMAC-signed API key. Send X-Auth-Apikey, X-Auth-Nonce and X-Auth-Signature.
Body
ABI-encoded calldata for the action.
"0x095ea7b3…"
Your own Safe. The server rejects a Safe registered to anyone else.
"0x0DECE7d83f8D47CD8dD8278c0F22c361C58577BD"
Your SafeTx signature. Without it the operator can do nothing.
"0x7b21…"
Target contract — the exchange for approvals, ConditionalTokens for a redeem, USDC for a transfer out.
"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359"
0 CALL (default), 1 DELEGATECALL for a MultiSend batch.
0
Cross-chain withdrawal: the quote_id of GET /account/bridge/withdraw/quote; to / value / data / operation must be its safe_tx exactly. Required for any transaction that burns USDC over CCTP (else 422 bridge_quote_required). A quote is used once: 422 quote_used, quote_expired, quote_not_found, 409 quote_mismatch — request a new quote.
"6c1f0a52-4b1e-4f0e-9d7a-2a1b3c4d5e6f"
Wei value. Defaults to "0".
"0"
Response
The submitted transaction hash, or null if nothing needed submitting.
"0x7d1e…"