Skip to content
Merged
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
142 changes: 0 additions & 142 deletions node/coinstacks/arbitrum/api/src/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -407,62 +407,6 @@
"type": "object",
"additionalProperties": false
},
"TokenMetadata": {
"description": "Contains info about token metadata (ERC-721/ERC-1155)",
"properties": {
"address": {
"type": "string"
},
"id": {
"type": "string"
},
"type": {
"type": "string"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"media": {
"properties": {
"type": {
"type": "string",
"enum": [
"image",
"video"
]
},
"url": {
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}
},
"required": [
"address",
"id",
"type",
"name",
"description",
"media"
],
"type": "object",
"additionalProperties": false
},
"TokenType": {
"type": "string",
"enum": [
"erc721",
"erc1155"
],
"description": "Supported token types for token metadata"
},
"GasEstimate": {
"description": "Contains info about estimated gas cost of a transaction",
"properties": {
Expand Down Expand Up @@ -1025,92 +969,6 @@
}
}
},
"/api/v1/metadata/token": {
"get": {
"operationId": "GetTokenMetadata",
"responses": {
"200": {
"description": "token metadata",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/TokenMetadata"
},
"examples": {
"Example 1": {
"value": {
"address": "0x0000000000000000000000000000000000000000",
"id": "123456789",
"type": "ERC721",
"name": "FoxyFox",
"description": "FOXatars are a cyber-fox NFT project created by ShapeShift and Mercle",
"media": {
"url": "https://storage.mercle.xyz/ipfs/bafybeifihbavnaqwmisq72nwqpmxy3qkfqxj5nvjg7wimluhisp7wkzcru",
"type": "image"
}
}
}
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ValidationError"
}
}
}
},
"500": {
"description": "Internal Server Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/InternalServerError"
}
}
}
}
},
"description": "Get token metadata",
"tags": [
"v1"
],
"security": [],
"parameters": [
{
"description": "contract address",
"in": "query",
"name": "contract",
"required": true,
"schema": {
"type": "string"
}
},
{
"description": "token identifier",
"in": "query",
"name": "id",
"required": true,
"schema": {
"type": "string"
}
},
{
"description": "token type (erc721 or erc1155)",
"in": "query",
"name": "type",
"required": true,
"schema": {
"$ref": "#/components/schemas/TokenType"
}
}
]
}
},
"/api/v1/gas/estimate": {
"post": {
"operationId": "EstimateGas",
Expand Down
142 changes: 0 additions & 142 deletions node/coinstacks/avalanche/api/src/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -407,62 +407,6 @@
"type": "object",
"additionalProperties": false
},
"TokenMetadata": {
"description": "Contains info about token metadata (ERC-721/ERC-1155)",
"properties": {
"address": {
"type": "string"
},
"id": {
"type": "string"
},
"type": {
"type": "string"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"media": {
"properties": {
"type": {
"type": "string",
"enum": [
"image",
"video"
]
},
"url": {
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}
},
"required": [
"address",
"id",
"type",
"name",
"description",
"media"
],
"type": "object",
"additionalProperties": false
},
"TokenType": {
"type": "string",
"enum": [
"erc721",
"erc1155"
],
"description": "Supported token types for token metadata"
},
"GasEstimate": {
"description": "Contains info about estimated gas cost of a transaction",
"properties": {
Expand Down Expand Up @@ -1013,92 +957,6 @@
}
}
},
"/api/v1/metadata/token": {
"get": {
"operationId": "GetTokenMetadata",
"responses": {
"200": {
"description": "token metadata",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/TokenMetadata"
},
"examples": {
"Example 1": {
"value": {
"address": "0x0000000000000000000000000000000000000000",
"id": "123456789",
"type": "ERC721",
"name": "FoxyFox",
"description": "FOXatars are a cyber-fox NFT project created by ShapeShift and Mercle",
"media": {
"url": "https://storage.mercle.xyz/ipfs/bafybeifihbavnaqwmisq72nwqpmxy3qkfqxj5nvjg7wimluhisp7wkzcru",
"type": "image"
}
}
}
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ValidationError"
}
}
}
},
"500": {
"description": "Internal Server Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/InternalServerError"
}
}
}
}
},
"description": "Get token metadata",
"tags": [
"v1"
],
"security": [],
"parameters": [
{
"description": "contract address",
"in": "query",
"name": "contract",
"required": true,
"schema": {
"type": "string"
}
},
{
"description": "token identifier",
"in": "query",
"name": "id",
"required": true,
"schema": {
"type": "string"
}
},
{
"description": "token type (erc721 or erc1155)",
"in": "query",
"name": "type",
"required": true,
"schema": {
"$ref": "#/components/schemas/TokenType"
}
}
]
}
},
"/api/v1/gas/estimate": {
"post": {
"operationId": "EstimateGas",
Expand Down
Loading
Loading