minor fixes
This commit is contained in:
parent
1c1f77fd7a
commit
c3e41526c8
9 changed files with 82 additions and 13 deletions
2
docs/build/zano-trade-api/_category_.json
vendored
2
docs/build/zano-trade-api/_category_.json
vendored
|
|
@ -1,3 +1,3 @@
|
|||
{
|
||||
"label": "Zano trade Api"
|
||||
"label": "Zano trade API"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
```
|
||||
|
|
@ -14,6 +14,8 @@
|
|||
```
|
||||
#### Response:
|
||||
```typescript
|
||||
success: boolean;
|
||||
data?: string // error message
|
||||
{
|
||||
success: boolean;
|
||||
data?: string // error message
|
||||
}
|
||||
```
|
||||
|
|
@ -19,6 +19,8 @@
|
|||
|
||||
#### Response:
|
||||
```typescript
|
||||
success: boolean;
|
||||
data?: string // error message
|
||||
{
|
||||
success: boolean;
|
||||
data?: string // error message
|
||||
}
|
||||
```
|
||||
|
|
@ -12,6 +12,8 @@
|
|||
```
|
||||
#### Response:
|
||||
```typescript
|
||||
success: boolean;
|
||||
data?: string // error message
|
||||
```
|
||||
{
|
||||
success: boolean;
|
||||
data?: string // error message
|
||||
}
|
||||
```
|
||||
|
|
@ -8,6 +8,7 @@
|
|||
token: string;
|
||||
pairId: number;
|
||||
}
|
||||
```
|
||||
#### Response:
|
||||
```typescript
|
||||
success: boolean;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
}
|
||||
```
|
||||
|
|
@ -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
|
||||
|
|
@ -20,6 +20,8 @@
|
|||
|
||||
#### Response:
|
||||
```typescript
|
||||
success: boolean;
|
||||
data?: string // error message
|
||||
{
|
||||
success: boolean;
|
||||
data?: string // error message
|
||||
}
|
||||
```
|
||||
Loading…
Add table
Reference in a new issue