v1

latestOpenAPI 3.0.42026-08-063630188.2 KB
GetAddressForRandomNftSale

Returns an address for a random nft sale (price from pricelist) (project uid)

When you call this API, you will receive an address where the buyer has to pay the amount of ada you define. The address will be monitored until it exipred. The count of nft will be reserved until it expires or the buyer has send the ada to this address. If the buyer has send the amount of ada, the nfts will be minted and send to his senderaddress and the nfts state changes to sold.

IMPORTANT: Please notice, that the call is limited to 300 addressreservations per minute. You will get the error 429 if you call this routine more than 300 times a minute. Please do not implement this function on your start page. And please prevent the call of this function from bots with a captcha.

get/GetAddressForRandomNftSale/{apikey}/{projectuid}/{countnft}

Path parameters

apikeystring required
projectuidstring required
countnftinteger required

Query parameters

refererstring

(Optional) A referer code

custompropertystring

(Optional) A custom property which can be set. Will be returned at webhooks or checkaddress

optionalreceiveraddressstring

Response

Returns the GetPaymentAddressResultClass Class

paymentAddressstring nullable
paymentAddressIdinteger
expiresstring date-time
adaToSendstring nullable
solToSendstring nullable
aptToSendstring nullable
nightToSendstring nullable
debugstring nullable
priceInEurnumber double
priceInUsdnumber double
priceInJpynumber double
effectivedatestring date-time
priceInLovelaceinteger
sendbackToUserinteger
revervationtypestring nullable
currencystring nullable
priceInLamportinteger
priceInOctainteger
priceInNightinteger
priceInSatoshiinteger