/wallet/exchangecreate REST API Endpoint
Please note that the successful execution, signing, and broadcast of this API call will deduct 1024 TRX from the user's account.
Body Parameters
owner_address
string
REQUIRED
Loading...
first_token_id
string
REQUIRED
Loading...
first_token_balance
integer
REQUIRED
Loading...
second_token_id
integer
REQUIRED
Loading...
second_token_balance
integer
REQUIRED
Loading...
visible
boolean
Loading...
permission_id
integer
Loading...
Returns
result
Loading...
message
Loading...
txID
Loading...
Request
1curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/exchangecreate \2--header 'accept: application/json' \3--header 'content-type: application/json' \4--data '5{6"owner_address": "OWNER_ADDRESS",7"first_token_id": "FIRST_TOKEN_ID",8"first_token_balance": 100,9"second_token_id": "SECOND_TOKEN_ID",10"second_token_balance": 100,11"visible": true12}13'141516
1curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/exchangecreate \2--header 'accept: application/json' \3--header 'content-type: application/json' \4--data '5{6"owner_address": "OWNER_ADDRESS",7"first_token_id": "FIRST_TOKEN_ID",8"first_token_balance": 100,9"second_token_id": "SECOND_TOKEN_ID",10"second_token_balance": 100,11"visible": true12}13'141516
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free