Skip to content
This repository was archived by the owner on Apr 8, 2024. It is now read-only.

Commit a51da67

Browse files
committed
Add getGasPrice request payload details
1 parent a695f9d commit a51da67

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

src/spec/swagger-v11--submitted.json

+19
Original file line numberDiff line numberDiff line change
@@ -748,6 +748,15 @@
748748
"post":{
749749
"summary":"Returns a range of gas prices in Wei to use with on chain transactions.",
750750
"operationId":"getV1TradingRGetGasPrice",
751+
"parameters": [
752+
{
753+
"in": "body",
754+
"name": "body",
755+
"schema": {
756+
"$ref": "#/definitions/getGasPricePayload"
757+
}
758+
}
759+
],
751760
"tags":[
752761
"Trading"
753762
],
@@ -2781,6 +2790,16 @@
27812790
"expireTime"
27822791
]
27832792
},
2793+
"getGasPricePayload": {
2794+
"type": "object",
2795+
"properties": {
2796+
"token": {
2797+
"type": "string",
2798+
"description": "Token for which to get the gas price",
2799+
"example": "ETH"
2800+
}
2801+
}
2802+
},
27842803
"getGasPriceResponse": {
27852804
"type":"object",
27862805
"properties":{

0 commit comments

Comments
 (0)