List Transaction
Only BEP2 tokens issued on SPC Chain can be listed. Learn how to issue BEP2 tokens here. If a token's listing proposal has been passed by valdiators, then a list
transaction must be sent before expire-time
.
List Fee
Fees will be charge when issuing a token, creating a proposal, depositing and listing. You can refer to fee table in trading spec.
List Transaction
Proposal Parameters
quote-asset-symbol
: For now, only support SPC as quote asset.init-price
: the initial price for your asset, it is boosted by 1e8proposal-id
: this corresponds to the listing proposal that is passedfrom
: this address should be the issuer of base asset
Example on mainnet:
$ ./eth-cli dex list -s AAA-254 --quote-asset-symbol SPC --from test \
--init-price 100000000 --proposal-id 15 --chain-id SPC-Chain-Tigris --node https://dataseed5.defibit.io:443 --json
{
"Height":"282409",
"TxHash":"77AE3D190F430FE6E4B1A9659BEBB3F022CF7631",
"Response":{
"log":"Msg 0: ",
"tags":[
{
"key":"YWN0aW9u",
"value":"ZGV4TGlzdA=="
}
]
}
}
Example on testnet:
$ ./eth-cli dex list -s AAA-254 --quote-asset-symbol SPC --from test \
--init-price 100000000 --proposal-id 15 --chain-id=SPC-Chain-Ganges --node=data-seed-pre-2-s1.spcscan.io:80 --json
{
"Height":"282409",
"TxHash":"77AE3D190F430FE6E4B1A9659BEBB3F022CF7631",
"Response":{
"log":"Msg 0: ",
"tags":[
{
"key":"YWN0aW9u",
"value":"ZGV4TGlzdA=="
}
]
}
}
After the transaction is executed, you could see the newly added trading pair from Explorer and maket API.