搜索所有币种
开发中
POST
/brc20swap/search_ticks
请求参数
Header 参数
Authorization
string
token
默认值:
Xverse-j21jurgoi9aeu9no
User-Id
string
可选
Body 参数application/json
page
integer
必需
page_size
integer
必需
keyword
string
可选
address
string
用户地址
usetype
string
必需
tick1
string
根据tick1来搜索币对
coin_type
string
runes/brc20/arc20
示例
{
"page": 1,
"page_size": 30,
"usetype": "liquid",
"coin_type": "runes"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://test-api-proxy.ddpurse.com/brc20swap/search_ticks' \
--header 'Authorization: Xverse-j21jurgoi9aeu9no' \
--header 'User-Id;' \
--header 'Content-Type: application/json' \
--data-raw '{
"page": 1,
"page_size": 30,
"usetype": "liquid",
"coin_type": "runes"
}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
msg
string
必需
data
object
必需
total
integer
必需
items
array [object {9}]
必需
has_next
boolean
必需
req_id
string
必需
示例
{
"code": 0,
"msg": "",
"data": {
"total": 1,
"items": [
{
"tick": "SHE•SHE•SHE•SHE•SHE",
"coin_type": "runes",
"icon": "S",
"holder_count": 2,
"mint_percent": "0",
"balance": "",
"divisibility": 0,
"non_removable": false,
"tick_id": ""
}
],
"has_next": false
},
"req_id": "1887716234576175104"
}
🟢200成功
修改于 2025-02-07 04:19:37