API
1. Submit a Ticket
Path:/v4/{referrer}/ticket
Method: POST
Request param:
referrer
true
string
0x06d96e...
Request body:
hash
false
string
0x06d96e...
transaction hash
question
false
string
question
question
account
true
string
0xddc0...
user's wallet address
quote
false
object
{}
quote info
transaction
false
object
{}
transaction info
error
false
object
{}
error info
chain
false
number
56
chain code
version
false
string
v2
quote v2/v4
Request body example:
Response:
ticket
string
5298615415
ticket code
Response example:
2. Get the ticket list through referrer address
Path:/v4/{referrer}/ticket
Method: GET
Request param:
referrer
true
string
0x06d96e...
Response:
hash
string
0x123c8...ce27
transaction hash
question
string
question
question
process
string
01
process
remark
string
ok
remark
answer
string
answer
answer
account
string
0xddc0...
user's wallet address
params
object
{}
params info
createAt
Date
create time
Response example:
Last updated