Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@
"background": {
"decoration": "gradient"
},
"api": {
"playground": {
"display": "interactive",
"prefill": true
}
},
"navigation": {
"tabs": [
{
Expand Down
6 changes: 6 additions & 0 deletions openapi-spec/lend/lend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -239,10 +239,13 @@ components:
properties:
asset:
type: string
default: "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
signer:
type: string
default: "vBXNsd5SRtTPpW7GWv3wREA6Ztm2jCWp5eqqTsVhyG5"
amount:
type: string
default: "5"
example:
asset: "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
signer: "HYbxGkNvEwvZ14RzJHPB9h3dWfXjxwAEhkyzJRHx1hBf"
Expand All @@ -257,10 +260,13 @@ components:
properties:
asset:
type: string
default: "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
signer:
type: string
default: "HYbxGkNvEwvZ14RzJHPB9h3dWfXjxwAEhkyzJRHx1hBf"
shares:
type: string
default: "1000000"
example:
asset: "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
signer: "HYbxGkNvEwvZ14RzJHPB9h3dWfXjxwAEhkyzJRHx1hBf"
Expand Down
13 changes: 12 additions & 1 deletion openapi-spec/trigger/trigger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ paths:
properties:
maker:
type: string
default: "jdocuPgEAjMfihABsPgKEvYtsmMzjUHeq9LX4Hvs7f3"
computeUnitPrice:
type: string
default: auto
Expand All @@ -54,7 +55,9 @@ paths:
orders:
- 6fe8ByaiFHisjnYnH5qdpyiNtkn89mMBQUemRkVmKhro
- 9jwzPKHxcrSozdrTYzPnTqy7psRvNGxaYUAiiyxwZKjj
computeUnitPrice: auto
computeUnitPrice:
type: string
default: auto
responses:
'200':
description: |
Expand Down Expand Up @@ -152,21 +155,27 @@ paths:
properties:
inputMint:
type: string
default: "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
outputMint:
type: string
default: "So11111111111111111111111111111111111111112"
maker:
type: string
default: "jdocuPgEAjMfihABsPgKEvYtsmMzjUHeq9LX4Hvs7f3"
payer:
type: string
default: "jdocuPgEAjMfihABsPgKEvYtsmMzjUHeq9LX4Hvs7f3"
params:
type: object
properties:
makingAmount:
type: string
description: Amount of input mint to swap
default: "100000000"
takingAmount:
type: string
description: Amount of output mint to receive
default: "50000000"
expiredAt:
type: string
slippageBps:
Expand Down Expand Up @@ -307,8 +316,10 @@ paths:
properties:
maker:
type: string
default: "jdocuPgEAjMfihABsPgKEvYtsmMzjUHeq9LX4Hvs7f3"
order:
type: string
default: "6fe8ByaiFHisjnYnH5qdpyiNtkn89mMBQUemRkVmKhro"
computeUnitPrice:
type: string
default: auto
Expand Down
23 changes: 12 additions & 11 deletions openapi-spec/ultra/ultra.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,14 @@ paths:
- If no additional referral params are passed in, the fee will be the Ultra default fee only and can include additional fees for gasless support mechanism
platformFee:
type: object
description: |
- This field shows the platform fee only, does not include fee for gas
- Platform fee can either be the Ultra default fee or your integrator fee
properties:
amount:
type: string
feeBps:
type: number
description: |
- This field shows the platform fee only, does not include fee for gas
- Platform fee can either be the Ultra default fee or your integrator fee
type: number
required:
- feeBps
signatureFeeLamports:
Expand Down Expand Up @@ -252,21 +252,25 @@ paths:
name: inputMint
schema:
type: string
default: "So11111111111111111111111111111111111111112"
required: true
- in: query
name: outputMint
schema:
type: string
default: "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
required: true
- in: query
name: amount
schema:
type: string
default: "10000000"
required: true
- in: query
name: taker
schema:
type: string
default: "vBXNsd5SRtTPpW7GWv3wREA6Ztm2jCWp5eqqTsVhyG5"
required: false
- in: query
name: payer
Expand Down Expand Up @@ -323,13 +327,7 @@ paths:
- **Only include** Meteora DLMM: `excludeRouters=<all-except-Iris>` and `excludeDexes=<all-except-MeteoraDLMM>`
schema:
type: string
- in: query
name: payer
description: |
- The address of an external gas payer to pay for the network fees and rent on behalf of the taker
schema:
type: string
required: false

/execute:
post:
summary: execute
Expand Down Expand Up @@ -502,6 +500,7 @@ paths:
parameters:
- schema:
type: string
default: "vBXNsd5SRtTPpW7GWv3wREA6Ztm2jCWp5eqqTsVhyG5"
in: path
name: address
required: true
Expand Down Expand Up @@ -616,6 +615,7 @@ paths:
name: mints
schema:
type: string
default: "So11111111111111111111111111111111111111112,EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
required: true
description: |
- Comma separated list of mints to get information for
Expand Down Expand Up @@ -689,6 +689,7 @@ paths:
name: query
schema:
type: string
default: "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
required: true
description: |
- Search for a token and its information by its symbol, name or mint address
Expand Down