Skip to content

Commit 241bcde

Browse files
committed
adds missing code block langs
1 parent 2b051b4 commit 241bcde

File tree

4 files changed

+19
-15
lines changed

4 files changed

+19
-15
lines changed

src/pages/atomicdex/api/v20-dev/non_fungible_tokens/get_nft_list/index.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ Returns a list of the NFTs owned by the user, shown in descending order of the `
310310

311311
The supported chains are
312312

313-
```
313+
```json
314314
{
315315
"mmrpc":"2.0",
316316
"error":"Error parsing request: UnsupportedChainType",

src/pages/atomicdex/api/v20-dev/non_fungible_tokens/get_nft_metadata/index.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ export const description =
100100

101101
## Error responses
102102

103-
```
103+
```json
104104
{
105105
"mmrpc": "2.0",
106106
"error": "Token: token_address 0xfd913a305d70a60aac4faac70c739563738e1f81, token_id 214300044414 was not found in wallet",

src/pages/atomicdex/api/v20-dev/non_fungible_tokens/withdraw_nft/index.mdx

+5-5
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ If you would like to withdraw all NFTs from a token\_address, you must use the `
213213

214214
#### InvalidRequest (missing field)
215215

216-
```
216+
```json
217217
{
218218
"mmrpc": "2.0",
219219
"error": "Error parsing request: missing field `type`",
@@ -227,7 +227,7 @@ If you would like to withdraw all NFTs from a token\_address, you must use the `
227227

228228
#### InvalidRequest (wrong withdraw type)
229229

230-
```
230+
```json
231231
{
232232
"mmrpc": "2.0",
233233
"error": "Error parsing request: unknown variant `withdraw_erc420`, expected `withdraw_erc1155` or `withdraw_erc721`",
@@ -241,7 +241,7 @@ If you would like to withdraw all NFTs from a token\_address, you must use the `
241241

242242
#### TokenNotFoundInWallet (trying to send NFT you dont own)
243243

244-
```
244+
```json
245245
{
246246
"mmrpc": "2.0",
247247
"error": "Token: token_address 0xfd913a305d70a60aac4faac70c739563738e1f82, token_id 110473361632261669912565539602449606788298723469812631769659886404530570536722 was not found in wallet",
@@ -261,7 +261,7 @@ If you would like to withdraw all NFTs from a token\_address, you must use the `
261261

262262
#### TransportError (unable to estimate gas)
263263

264-
```
264+
```json
265265
{
266266
"mmrpc": "2.0",
267267
"error": "Transport error: request MethodCall(MethodCall { jsonrpc: Some(V2), method: \"eth_estimateGas\", params: Array([Object({\"from\": String(\"0xab95d01bc8214e4d993043e8ca1b68db2c946498\"), \"to\": String(\"0x2953399124f0cbb46d2cbacd8a89cf0599974963\"), \"gasPrice\": String(\"0x9ddeaaffe\"), \"value\": String(\"0x0\"), \"data\": String(\"0x42842e0e000000000000000000000000ab95d01bc8214e4d993043e8ca1b68db2c946498000000000000000000000000ab95d01bc8214e4d993043e8ca1b68db2c946498f43db4f488f644b73a9442de4978fb7572b73d85000000000000110000002710\")})]), id: Num(64) }) failed: InvalidResponse(\"Server: 'https://polygon-rpc.com/', error: RPC error: Error { code: ServerError(-32000), message: \\\"execution reverted\\\", data: None }\"); InvalidResponse(\"Server: 'https://polygon.blockpi.network/v1/rpc/public', error: RPC error: Error { code: ServerError(-32000), message: \\\"execution reverted\\\", data: None }\"); Transport(\"Server: 'https://node.komodo.earth:8080/polygon', response !200: 502 Bad Gateway, <html>..<head><title>502 Bad Gateway</title></head>..<body>..<center><h1>502 Bad Gateway</h1></center>..<hr><center>nginx/1.18.0 (Ubuntu)</center>..</body>..</html>..\"); InvalidResponse(\"Server: 'https://polygon.llamarpc.com/', error: RPC error: Error { code: ServerError(-32000), message: \\\"execution reverted\\\", data: None }\"); ",
@@ -275,7 +275,7 @@ If you would like to withdraw all NFTs from a token\_address, you must use the `
275275

276276
#### NotEnoughNftsAmount (trying to send more NFTs than you have)
277277

278-
```
278+
```json
279279
{
280280
"mmrpc": "2.0",
281281
"error": "Not enough NFTs amount with token_address: 0x2953399124f0cbb46d2cbacd8a89cf0599974963 and token_id 110473361632261669912565539602449606788298723469812631769659886404530570536720. Available 1, required 2",

utils/_fileData.json

+12-8
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"/antara/api/assets": {
3-
"dateModified": "2023-09-01T12:11:07.000Z",
3+
"dateModified": "2024-03-04T11:51:07.000Z",
44
"contributors": [
55
{
66
"name": "\"gcharang\"",
7-
"email": "[email protected]"
7+
"email": "21151592+[email protected]"
88
},
99
{
1010
"name": "\"gcharang\"",
11-
"email": "21151592+[email protected]"
11+
"email": "[email protected]"
1212
},
1313
{
1414
"name": "\"gaeacodes\"",
@@ -25,7 +25,7 @@
2525
],
2626
"lastContributor": {
2727
"name": "\"gcharang\"",
28-
"email": "[email protected]"
28+
"email": "21151592+[email protected]"
2929
}
3030
},
3131
"/antara/api/channels": {
@@ -3559,7 +3559,7 @@
35593559
}
35603560
},
35613561
"/atomicdex/api/v20": {
3562-
"dateModified": "2024-03-04T06:21:15.000Z",
3562+
"dateModified": "2024-03-04T14:04:25.000Z",
35633563
"contributors": [
35643564
{
35653565
"name": "\"gcharang\"",
@@ -3750,16 +3750,20 @@
37503750
}
37513751
},
37523752
"/atomicdex/api/v20/sign_raw_transaction": {
3753-
"dateModified": "2023-12-02T15:30:08.000Z",
3753+
"dateModified": "2024-03-04T14:04:25.000Z",
37543754
"contributors": [
3755+
{
3756+
"name": "\"gcharang\"",
3757+
"email": "[email protected]"
3758+
},
37553759
{
37563760
"name": "\"smk762\"",
37573761
"email": "[email protected]"
37583762
}
37593763
],
37603764
"lastContributor": {
3761-
"name": "\"smk762\"",
3762-
"email": "[email protected]"
3765+
"name": "\"gcharang\"",
3766+
"email": "[email protected]"
37633767
}
37643768
},
37653769
"/atomicdex/api/v20/start_simple_market_maker_bot": {

0 commit comments

Comments
 (0)