Skip to main content
POST
Create withdrawal addresses

请求头

X-Builder-Code
string

Optional builder code (bytes32 hex) attributing this request to your integration so transfer issues can be traced to your app. Omitting it still succeeds but returns a missing_builder_code warning; a malformed code returns 400. Get your code at https://polymarket.com/settings?tab=builder

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

"0x00000000000000000000000000000000000000000000000000000000abcd1234"

请求体

application/json
address
string
必填

Source Polymarket wallet address on Polygon

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

"0x56687bf447db6ffa42ffe2204a05edaa20f55839"

toChainId
string
必填

Destination chain ID (e.g., "1" for Ethereum, "8453" for Base, "1151111081099710" for Solana)

示例:

"1"

toTokenAddress
string
必填

Destination token contract address

示例:

"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"

recipientAddr
string
必填

Destination wallet address where funds will be sent

示例:

"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"

响应

Withdrawal addresses created successfully

address
object

Bridge addresses for different blockchain networks

note
string

Additional information about the bridge addresses

示例:

"Only certain chains and tokens are supported. See /supported-assets for details."