⚡ We welcome businesses to test our enterprise-grade service

Method: POST /wallet/exchangecreate

dropdown

方法 REST /wallet/exchangecreate 例如 Tron (TRX)

POST /wallet/exchangecreate

Method not allowed

创建一个交易对。

警告:此API呼叫的成功执行,签名和广播将从用户帐户中扣除1024 TRX。

Parameters

owner_address -

细绳

first_token_id -

细绳

第一个令牌的ID,默认的hexstring

first_token_balance -

享受

第一个令牌的平衡

second_token_id -

细绳

第二个令牌的ID,默认的hexstring

second_token_balance -

享受

第二代币的平衡

permission_id -

享受

可选,用于多签名

visible -

布尔

可选,地址是否为base58格式

Request

curl --location --request POST 'https://trx.getblock.io/wallet/exchangecreate' 
--header 'x-api-key: YOUR-API-KEY' 
--header 'Content-Type: application/json' 
--data-raw '{}'


Response

{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}