Polymarket Get supported assets
https://api.sandbase.ai/v1/api/polymarket/supported-assetsGet supported assets for deposits and withdrawals on the bridge.
- ราคา
- $0.012USD / คำขอ
- Method
- POST
- การตอบกลับ
- JSON
- พารามิเตอร์
- 0 จำเป็น · 0 ไม่บังคับ
Playground
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก Run
API README
Polymarket Get supported assets API
Returns the list of chains and tokens that Polymarket supports for deposits and withdrawals on its bridge. It takes no input. Each row gives a chain, a token contract, and a minimum checkout amount in USD.
Use cases
- Build a deposit screen that lists every chain and token a user can fund a Polymarket account with.
- Check whether a given token contract on a given chain is accepted before you send funds.
- Read the token
decimalsto convert raw on-chain amounts into display amounts. - Show users the minimum deposit size for each asset before they start a checkout.
Request
curl -X POST "https://api.sandbase.ai/v1/api/polymarket/supported-assets" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
The result is returned in outputs[0].data.
Example response
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"note": "These are the currently supported chains and assets for deposits and withdrawals…",
"supportedAssets": [
{
"chainId": "1",
"chainName": "Ethereum",
"minCheckoutUsd": 3,
"token": {
"address": "0x0000000000085d4780B73119b644AE5ecd22b376",
"decimals": 18,
"name": "TrueUSD",
"symbol": "TUSD"
}
}
]
}
Response fields
| Field | Meaning |
|---|---|
note | Short text from the API that says the list shows the currently supported chains and assets for deposits and withdrawals. |
supportedAssets[] | One entry per chain and token pair that the bridge supports. |
supportedAssets[].chainId | ID of the chain, sent as a string. For example 1 for Ethereum. |
supportedAssets[].chainName | Name of the chain, such as Ethereum. |
supportedAssets[].minCheckoutUsd | Minimum checkout amount for this asset. The key name shows it is in USD. |
supportedAssets[].token.address | Contract address of the token on that chain. |
supportedAssets[].token.symbol / supportedAssets[].token.name | Ticker and full name of the token, such as BAT and Basic Attention Token. |
supportedAssets[].token.decimals | Number of decimal places the token uses on-chain. |
Notes
- Send an empty JSON object
{}as the request body. There are no parameters and no pagination. - The same
chainIdappears in many rows, one for each token on that chain. Group rows bychainIdorchainNameto list tokens per chain. - Match tokens by
token.addressandchainIdinstead ofsymbol, since the response lists many tokens and symbols may not be unique.
Pricing
$0.012 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
เริ่มสร้าง
ส่งคำขอแรกของคุณ
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
curl -X POST "https://api.sandbase.ai/v1/api/polymarket/supported-assets" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'2. การยืนยันตัวตน
ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
3. พารามิเตอร์
ยังไม่มีการเผยแพร่ schema ของพารามิเตอร์สำหรับ API นี้
4. การตอบกลับ
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
ยังไม่มีการเผยแพร่การตอบกลับที่บันทึกไว้ ให้รัน API ใน Playground เพื่อดูการตอบกลับ
สำรวจเพิ่มเติม
APIs ที่เกี่ยวข้อง
| API | ราคา | การตอบกลับ |
|---|---|---|
Polymarket | $0.012 ต่อการเรียก | JSON |
Polymarket | $0.012 ต่อการเรียก | JSON |
Polymarket | $0.012 ต่อการเรียก | JSON |
Polymarket | $0.012 ต่อการเรียก | JSON |
Polymarket | $0.012 ต่อการเรียก | JSON |
Polymarket | $0.012 ต่อการเรียก | JSON |
คำถาม
คำถามที่พบบ่อย
ฉันจะใช้ Polymarket Get supported assets API ได้อย่างไร?
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/polymarket/supported-assets โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
Polymarket Get supported assets API ราคาเท่าไร?
$0.012 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
Polymarket Get supported assets API รับพารามิเตอร์อะไรบ้าง?
Polymarket Get supported assets ไม่รับพารามิเตอร์อินพุต ส่ง JSON body ว่างเปล่า
Polymarket Get supported assets API ส่งคืนอะไร?
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ Polymarket ไหม?
ไม่จำเป็น Polymarket Get supported assets ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Polymarket API แยกต่างหาก
