Ticket Market
Last updated
Last updated
Read information of sale
** Request **
** Response **
Read the address for collecting service fee
** Response **
Read the fee rate
** Response **
Read whether to pay tokens
** Request **
Rent or sell the NFT
Rent or sell the NFT
Cancel the rent or sale of the ticket
Params
Type
Description
_owner
address
owner
_token
address
nft contract address
_token_id
uint256
token id
Params
Type
Description
payToken
address
base token
price
uint256
sale price
term
uint256
rent term (s)
amount
uint256
rent amount at the time of rental
rental
bool
true: rent ,false: sell
Params
Type
Description
feeReceiver
address
fee receiver
Params
Type
Description
feeRate
uint256
fee rate,decimals=4
Params
Type
Description
_token
address
tolen address
** Response **
Params
Type
Description
isPayToken
boolean
is pay token
Params
Type
Description
_token
address
pending order adress of nft
_tokenId
uint256
nft tokenId
_payToken
address
pay token
_price
uint256
pay price
_amount
uint256
pending oder amount of nft,if it is erc721, show 1
_term
uint256
rent term (s),sell is 0
_rental
bool
true means rent,false means sell
Params
Type
Description
_seller
address
address of renter
_token
address
nft address
_tokenId
uint256
nft tokenId
Params
Type
Description
_seller
address
renter address
_token
address
nft address
_tokenId
uint256
nft tokenId