List debt for sale
post
List a debt token for sale
Authorizations
Body
contractAddressstringRequiredExample:
The address of the debt token contract.
0x1234567890abcdef1234567890abcdef12345678Pattern: ^(0x)[0-9a-fA-F]{40}$listingPricenumber · floatRequired
The listing price of the debt token, specified in Wei.
Responses
200
Default Response
application/json
400
Error
application/json
post
/debtToken/list-debtPOST /debtToken/list-debt HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 81
{
"contractAddress": "0x1234567890abcdef1234567890abcdef12345678",
"listingPrice": 1
}{
"success": true,
"contractAddress": "text",
"listingPrice": 1
}Was this helpful?

