v18

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-013469188.5 KB
Processing

Relay a Safe withdrawal via shared Nexus relayer

Relay a signed Safe execTransaction via a shared AWS-owned Nexus account with sponsored gas

post/safe/withdraw

Headers

x-api-keystring required

API key for authentication

Example:your-api-key

API key for authentication

x-api-versionstring

API version identifier (e.g. "2026-04.amazon"). Optional today, will become required in a future release.

Example:2026-04.amazon

API version identifier (e.g. "2026-04.amazon"). Optional today, will become required in a future release.

Request body

safeAddressstring required

Ethereum address (0x followed by 40 hex characters)

signaturestring required

Hex-encoded string (0x followed by hex characters)

Example request

{
  "safeAddress": "0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91",
  "safeTransaction": {
    "to": "0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91",
    "value": "1000000000000000000",
    "data": "0x1234abcd",
    "safeTxGas": "1000000000000000000",
    "baseGas": "1000000000000000000",
    "gasPrice": "1000000000000000000",
    "gasToken": "0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91",
    "refundReceiver": "0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91",
    "nonce": "1000000000000000000"
  },
  "signature": "0x1234abcd"
}

Response

Withdrawal relayed successfully

messagestring required
txHashstring

Hex-encoded string (0x followed by hex characters)

Example response

{
  "txHash": "0x1234abcd"
}