Get all offers
Get all the existing offers for direct swap
Responses
- 200
- 400
Offers retrieved successfully
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
outRef object required
txHash string required
Transaction hash
outputIndex number required
Output index
datum object required
creator object required
paymentCredential object required
oneOf
array
array
array
array
stakeCredential object required
oneOf
array
array
array
array
toBuy object required
property name* object
property name* bigint
assets object required
A record with string keys and bigint values
property name* string
[
{
"outRef": {
"txHash": "string",
"outputIndex": 0
},
"datum": {
"creator": {
"paymentCredential": [
"string"
],
"stakeCredential": [
[
"string"
],
[
"string"
]
]
},
"toBuy": {
"policyId1": {
"assetName1": "123"
},
"policyId2": {
"assetName2": "456"
},
"policyId3": {
"assetName3": "789"
}
}
},
"assets": {
"policyId1assetName1": "123",
"policyId2assetName2": "456",
"policyId3assetName3": "789"
}
}
]
Bad Request. Invalid request body provided.
Loading...