Skip to main content
POST
Relay a Safe transaction

Authorizations

X-Auth-Apikey
string
header
required

HMAC-signed API key. Send X-Auth-Apikey, X-Auth-Nonce and X-Auth-Signature.

Body

application/json
data
string
required

ABI-encoded calldata for the action.

Example:

"0x095ea7b3…"

safe
string
required

Your own Safe. The server rejects a Safe registered to anyone else.

Example:

"0x0DECE7d83f8D47CD8dD8278c0F22c361C58577BD"

signature
string
required

Your SafeTx signature. Without it the operator can do nothing.

Example:

"0x7b21…"

to
string
required

Target contract — each call's own to (USDC or ConditionalTokens for the setup approvals, the MultiSend contract for a batch), ConditionalTokens for a redeem, USDC for a transfer out.

Example:

"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359"

nonce
string

The Safe nonce you signed at. Send it: a signature that does not sign this nonce is refused with 422 relay.nonce_mismatch. Omitted, the Safe's current nonce is used.

Example:

"3"

operation
number

0 CALL (default), 1 DELEGATECALL for a MultiSend batch.

Example:

0

quote_id
string

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.

Example:

"6c1f0a52-4b1e-4f0e-9d7a-2a1b3c4d5e6f"

value
string

Wei value. Defaults to "0".

Example:

"0"

Response

relay_id
string
required

An id for this relay.

Example:

"1842"

state
enum<string>
required

Always pending: the change shows on GET /account/wallet once the block it landed in is final. Read the wallet for the result, not this answer.

Available options:
pending
Example:

"pending"

tx
string | null
required

The transaction hash. Null on a 202, whose body is wrapped in data: the transaction may have been sent and its outcome is not known yet.

Example:

"0x7d1e…"

merge
object

Present when the relayed call merges YES and NO pairs back into USDC: the merge record and its state.

status
enum<string>

mined; unconfirmed: sent but not mined yet; or reverted: the transaction was mined but the Safe call failed, so nothing changed and you can sign again. Absent on a 202.

Available options:
mined,
unconfirmed,
reverted
Example:

"mined"