Skip to main content
POST
Reference example

Cost and request rules

Published reference values are not an account-specific quote or a settled charge. For endpoints supporting X-AISA-Cost-Mode: quote, obtain a free quote for your exact request before execution; reconcile the settled cost with response metadata and Usage Logs. USD amounts use 1,000,000 integer micro-USD per dollar.
  • Default request reference estimate (USD): 0.012
  • Cost contract: fixed_success
  • Settlement evidence source: request_snapshot

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

POLY_BUILDER_API_KEY
string

Builder API key (when using Builder API Key auth)

POLY_BUILDER_PASSPHRASE
string

Builder passphrase (when using Builder API Key auth)

POLY_BUILDER_SIGNATURE
string

HMAC-SHA256 signature (when using Builder API Key auth)

POLY_BUILDER_TIMESTAMP
string

Unix timestamp (when using Builder API Key auth)

RELAYER_API_KEY
string

Relayer API key (when using Relayer API Key auth)

RELAYER_API_KEY_ADDRESS
string

Address that owns the key (when using Relayer API Key auth) Ethereum address (0x-prefixed, 40 hex chars)

Pattern: ^0x[a-fA-F0-9]{40}$
Example:

"0x6e0c80c90ea6c15917308F820Eac91Ce2724B5b5"

Body

application/json
from
string
required

Ethereum address (0x-prefixed, 40 hex chars)

Pattern: ^0x[a-fA-F0-9]{40}$
Example:

"0x6e0c80c90ea6c15917308F820Eac91Ce2724B5b5"

to
string
required

Ethereum address (0x-prefixed, 40 hex chars)

Pattern: ^0x[a-fA-F0-9]{40}$
Example:

"0x6e0c80c90ea6c15917308F820Eac91Ce2724B5b5"

proxyWallet
string
required

Ethereum address (0x-prefixed, 40 hex chars)

Pattern: ^0x[a-fA-F0-9]{40}$
Example:

"0x6e0c80c90ea6c15917308F820Eac91Ce2724B5b5"

data
string
required

Encoded transaction data (0x-prefixed hex string)

Example:

"0x..."

nonce
string
required

Transaction nonce

Example:

"60"

signature
string
required

Transaction signature (0x-prefixed hex string)

Example:

"0x01a060c734d7bdf4adde50c4a7e574036b1f8b12890911bdd1c1cfdcd77502381b89fa8a47c36f62a0b9f1cdfee7b260fd8108536db9f6b2089c02637e7de9fc20"

signatureParams
object
required
type
enum<string>
required

Transaction type

Available options:
SAFE,
PROXY
Example:

"SAFE"

Response

Transaction submitted successfully

transactionID
string

Unique identifier for the submitted transaction

Example:

"0190b317-a1d3-7bec-9b91-eeb6dcd3a620"

state
string

Current state of the transaction

Example:

"STATE_NEW"