createticket "servicename" "ticketlocation" "ticketname" "ticketdatetime" "ticketprice" "ticketaddress"
Create a new ticket on the blockchain.
"servicename" (string, required)
The service name associated with the new ticket.
"ticketlocation" (string, required)
The smileycoin ticket sales service address associated with the service.
"ticketname" (string, required)
The ticket name.
"ticketdatetime" (datetime, required)
The ticket date and time.
"ticketprice" (numeric, required)
The ticket price.
"ticketaddress" (string, required)
The smileycoin ticket address associated with the ticket.
dd/MM/yyyyhh:mm
"transactionid"Β (string) The transaction id.
smileycoin-cli createticket Paradiso Alfabakka Shining 22/08/202022:00 30 1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd
smileycoin-cli createticket AirSmiley BSI Akureyri 10/12/202009:00 1500000 1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd
curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "createticket", "params": [Paradiso Kringla Alien 30/10/202023:00 40 1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd] }' -H 'content-type: text/plain;' http://127.0.0.1:9332/