minor fixes

This commit is contained in:
jejolare 2025-04-30 18:24:52 +07:00
parent 1c1f77fd7a
commit c3e41526c8
9 changed files with 82 additions and 13 deletions

View file

@ -1,3 +1,3 @@
{
"label": "Zano trade Api"
"label": "Zano trade API"
}

View file

@ -23,6 +23,8 @@
>- hex_raw_proposal - Hex-encoded proposal raw data(encrypted with common shared key). Includes half-created transaction template and some extra information that would be needed counterparty to finialize and sign transaction
#### Response:
```typescript
{
success: boolean;
data?: string // error message
}
```

View file

@ -14,6 +14,8 @@
```
#### Response:
```typescript
success: boolean;
data?: string // error message
{
success: boolean;
data?: string // error message
}
```

View file

@ -19,6 +19,8 @@
#### Response:
```typescript
success: boolean;
data?: string // error message
{
success: boolean;
data?: string // error message
}
```

View file

@ -12,6 +12,8 @@
```
#### Response:
```typescript
success: boolean;
data?: string // error message
```
{
success: boolean;
data?: string // error message
}
```

View file

@ -8,6 +8,7 @@
token: string;
pairId: number;
}
```
#### Response:
```typescript
success: boolean;

View file

@ -9,3 +9,61 @@
id: number;
}
```
#### Response:
```typescript
{
success: boolean;
data: {
id: number;
first_currency_id: number;
second_currency_id: number;
rate: number;
coefficient: number;
high: number;
low: number;
volume: number;
featured: boolean;
createdAt: string;
updatedAt: string;
first_currency: {
id: number;
name: string;
code: string;
type: string;
asset_id: string;
auto_parsed: boolean;
asset_info: {
id: string;
logo: string;
price: number | null;
ticker: string;
asset_id: string;
full_name: string;
meta_info: string;
price_url: string;
decimal_point: number;
current_supply: string;
total_max_supply: string;
};
whitelisted: boolean;
createdAt: string;
updatedAt: string;
};
second_currency: {
id: number;
name: string;
code: string;
type: string;
asset_id: string;
auto_parsed: boolean;
asset_info: {
decimal_point: number;
};
whitelisted: boolean;
createdAt: string;
updatedAt: string;
};
};
}
```

View file

@ -1,9 +1,9 @@
# Trade API for custom bots
## Additional Resources
## Resources
- [Zano Trade Dex](https://trade.zano.org)
- [Zano Documentation](https://docs.zano.org)
- [Ionic Swaps Overview](https://docs.zano.org/docs/build/confidential-assets/ionic-swaps)
## RestAPI ENDPOINTS
**base URL** - https://trade.zano.org
## Rest API ENDPOINTS
**Base URL** - https://trade.zano.org

View file

@ -20,6 +20,8 @@
#### Response:
```typescript
success: boolean;
data?: string // error message
{
success: boolean;
data?: string // error message
}
```