Ticket
Last updated
Last updated
-Get ticket info
Request URL
/api/ticket/token-info
Method
POST
Parameter
Parameter name | Required | Type | Explain |
---|---|---|---|
Return example
Return parameter description
get ticket info
Request URL
/api/ticket/tokens
Method
POST
Parameter
Return example
Return parameter description
Same as above
Parameter name | Type | Explain |
---|---|---|
Parameter name | Required | Type | Explain |
---|---|---|---|
chain_type
Yes
string
KCC:1, Refer to the config
ticket_id
Yes
string
ticket unique id
id
int
automatic generated unique id
chain_type
int
KCC:1, Refer to the config
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
chain_type
Yes
string
KCC:1, Refer to the config
address
Yes
address
owner address