curl -s --user $rpcuser:$rpcpassword --data-binary '{"jsonrpc": "1.0", "id": "curltest", "method": "tokenaddress", "params": []}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/ | jq -r '.result'
{
"result": "success",
"TokensCCAddress": "RAMvUfoyURBRxAdVeTMHxn3giJZCFWeha2",
"TokensCCBalance": 0.0001,
"TokensNormalAddress": "RCNgAngYAdrfzujYyPgfbjCGNVQZzCgTad",
"TokensNormalBalance": 0,
"myCCAddress(Tokens)": "RBjnhNaqtSGym1PqpaQL3jY3XHgpH9qTRK",
"myCCbalance(Tokens)": 5,
"myaddress": "RJMakU2gkEkfL2d3F37SRiud4Q7bFNiq3F",
"mybalance": 293.16510777
}
curl -s --user $rpcuser:$rpcpassword --data-binary '{"jsonrpc": "1.0", "id": "curltest", "method": "tokenlist", "params": []}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/ | jq -r '.result'
[
"be75c48e0168668ef8a6861e51ba8461deb5a923bf50bd7e9a89917dfb066462"
]
curl -s --user $rpcuser:$rpcpassword --data-binary '{"jsonrpc": "1.0", "id": "curltest", "method": "tokeninfo", "params": ["be75c48e0168668ef8a6861e51ba8461deb5a923bf50bd7e9a89917dfb066462"]}' -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/ | jq -r '.result'
{
"result": "success",
"tokenid": "be75c48e0168668ef8a6861e51ba8461deb5a923bf50bd7e9a89917dfb066462",
"owner": "024edf5c4b2d7d45c40bbad404ece9c470080d8d0c466a62b936bdf93cc1c01c15",
"name": "TOKENA",
"supply": 500000000,
"description": "token a"
}
curl -s --user $rpcuser:$rpcpassword --data-binary "{"jsonrpc": "1.0", "id": "curltest", "method": "tokencreate", "params": ["TOKENC", "0.00001", "clah clah clah"]}" -H 'content-type: text/plain;' http://127.0.0.1:$rpcport/
{"result":{"result":"success","hex":"01000000020d0381a81edc7952f689c884ff39711789b1cf43d314220bda96bc30492a0c3d0000000049483045022100b67f0057dc9fae9d0af0985d457ed39445d78fe2db33759a2603bd9ec66a3acb022009208494ec9c9c6cb98ba13bac3c73abe32b8b57806cd186c36c6f3cd9a4c3f201ffffffff01031a8b21256e9f68f41e4fdca5e61a7ab5e3fc40833d182aed8ceab69676870100000049483045022100e02af7ad5cbd9f940abb16184b3b40cdf6af1a808e76f30e0562758def3adf3a02203a08d492709724f2410d840731aaff583489ee13f53904de80d4edc817d14d8a01ffffffff031027000000000000302ea22c8020432de388aabcb6b4e3326351d1d815cee8be9a8d37b055cd1c0cf8782e5c50c08103120c008203000401cce803000000000000302ea22c802046b51287be917deec57bd91e7a2606feb0d0c1811377b9c2c198b77c0a07b6738103120c008203000401cc00000000000000003c6a3af26321024edf5c4b2d7d45c40bbad404ece9c470080d8d0c466a62b936bdf93cc1c01c1506544f4b454e430e636c616820636c616820636c616800000000"},"error":null,"id":"curltest"}