Ticket
-Get ticket info
Request URL
/api/ticket/token-info
Method
POST
Parameter
chain_type
Yes
string
ticket_id
Yes
string
ticket unique id
Return example
Return parameter description
id
int
automatic generated unique id
chain_type
int
owner
int
ticket owner
from
int
transfer from
token_id
int
ticket unique id,same to ticket_id
category
int
ticket unique id,ticket_id
used
int
cds used chance
chance
int
cds total chance
maturity_date
timestamp(seconds)
rental matuirty date
term
int(seconds)
rental time
price
int
rental price
taker
address
rental taker
rent_owner
address
rental taker
pay_token
address
rental pay token
is_grey
bool
1:in greylist,0:not in greylist
is_staked
bool
1: ticket has been pledged,0: ticket are not pledged
get ticket info
Request URL
/api/ticket/tokens
Method
POST
Parameter
chain_type
Yes
string
address
Yes
address
owner address
Return example
Return parameter description
Same as above
Last updated