Skip to main content
POST
Submit a transaction

请求头

POLY_BUILDER_API_KEY
string

Builder API key (when using Builder API Key auth)

POLY_BUILDER_TIMESTAMP
string

Unix timestamp (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)

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}$
示例:

"0x6e0c80c90ea6c15917308F820Eac91Ce2724B5b5"

请求体

application/json
from
string
必填

Signer address

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

"0x6e0c80c90ea6c15917308F820Eac91Ce2724B5b5"

to
string
必填

Target contract address

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

"0x6e0c80c90ea6c15917308F820Eac91Ce2724B5b5"

proxyWallet
string
必填

User's Polymarket proxy wallet address

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

"0x6e0c80c90ea6c15917308F820Eac91Ce2724B5b5"

data
string
必填

Encoded transaction data (0x-prefixed hex string)

示例:

"0x..."

nonce
string
必填

Transaction nonce

示例:

"60"

signature
string
必填

Transaction signature (0x-prefixed hex string)

示例:

"0x01a060c734d7bdf4adde50c4a7e574036b1f8b12890911bdd1c1cfdcd77502381b89fa8a47c36f62a0b9f1cdfee7b260fd8108536db9f6b2089c02637e7de9fc20"

signatureParams
object
必填
type
enum<string>
必填

Transaction type

可用选项:
SAFE,
PROXY
示例:

"SAFE"

响应

Transaction submitted successfully

transactionID
string

Unique identifier for the submitted transaction

示例:

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

state
string

Current state of the transaction

示例:

"STATE_NEW"