Skip to content

Commit 0e39175

Browse files
committed
fixed links
1 parent d1251e9 commit 0e39175

9 files changed

+31
-25
lines changed

affiliate-fees.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ When using `/route` and `/msgs`, you incorporate the fee into the quote when you
5151
1. You should pass a set of affiliate addresses for every chain where the swap _might_ take place. (You can get this list by querying the `/v2/fungible/swap_venues` endpoint for the list of all `swap_venues` and grabbing the `chain_id` for each). This is required because `/msgs_direct` is determining the route, so we don't know which chain the swap will take place on when calling it.
5252
2. You should ensure that the sums of `basis_point_fee` for the sets of addresses you pass for each chain are equivalent. (For example, if you pass osmo1... addresses and neutron1... addresses, the sum of the `basis_point_fee` values for the osmo1... addresses must be the same as the sum for the neutron1... addresses.) You will receive an error if your fee sums are non-equivalent. (The error is necessary because we don't know which fee amount to simulate with.)
5353

54-
<Tip>
54+
<Check>
5555
**Want to help us get better? Have questions or feedback?**
5656

5757
You can reach us easily by joining [our Discord](https://skip.money/discord) and grabbing the "Skip API Developer" role.
58-
</Tip>
58+
</Check>

allow_unsafe-preventing-handling-bad-execution.mdx

+12-6
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ Below, we provide examples of the responses in each these cases.
3232

3333
The price impact is greater than 10% (`BAD_PRICE_ERROR`):
3434

35-
* ```{
35+
*
36+
```{
3637
"code": 3,
3738
"message": "swap execution price in route deviates too far from market price. expected price impact: 98.6915%",
3839
"details": [
@@ -48,7 +49,8 @@ The price impact is greater than 10% (`BAD_PRICE_ERROR`):
4849

4950
The user loses more than 10% of their USD value (`BAD_PRICE_ERROR`):
5051

51-
* ```{
52+
*
53+
```{
5254
"code": 3,
5355
"message": "difference in usd value of route input and output is too large. input usd value: 1000 output usd value: 600",
5456
"details": [
@@ -64,8 +66,9 @@ The user loses more than 10% of their USD value (`BAD_PRICE_ERROR`):
6466

6567
The `price_impact` and the estimated USD value difference cannot be calculated (`LOW_INFO_ERROR`)
6668

67-
* JSON
68-
```{
69+
*
70+
```JSON JSON
71+
{
6972
"code": 3,
7073
"message": "unable to determine route safety",
7174
"details": [
@@ -103,15 +106,18 @@ The price impact is greater than 10% (`BAD_PRICE_WARNING`):
103106

104107
More than 10% of the USD value of the input is lost in the swap (`BAD_PRICE_WARNING`):
105108

106-
* ```"warning": {
109+
*
110+
```"warning": {
107111
"type": "BAD_PRICE_WARNING",
108112
"message": "difference in usd value of route input and output is too large. input usd value: 1000 output usd value: 600"
109113
}
110114
```
111115

112116
The `price_impact` and the estimated USD value difference cannot be calculated (`LOW_INFO_ERROR`)
113117

114-
* ```"warning": {
118+
*
119+
```
120+
"warning": {
115121
"type": "LOW_INFO_WARNING",
116122
"message": "unable to determine route safety"
117123
}

fe-info.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ Each `Fee` object in the array will have the following attributes:
3838
</Warning>
3939

4040

41-
<Tip>
41+
<Check>
4242
**Want to help us get better? Have questions or feedback?**
4343

4444
You can reach us easily by joining [our Discord](https://skip.money/discord) and grabbing the "Skip API Developer" role.
45-
</Tip>
45+
</Check>

getting-started.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ There are 3 ways to leverage Skip API to build cross-chain swapping & transferri
4343

4444
1. **Slowest, most control:** Interact directly with the REST endpoints to have low-level control of your interactions
4545
2. **Medium control, medium speed:** Install and use the Typescript SDK (`@skip-router`) to abstract the complexity of making HTTP calls and access related helper functionality (e.g. for generating and signing transactions, awaiting changes in transaction status, etc...)
46-
3. **Low control, very fast:**Embed the IBC.FUN widget in your frontend in a single line of code to launch with no developer effort.
46+
3. **Low control, very fast:** Embed the IBC.FUN widget in your frontend in a single line of code to launch with no developer effort.
4747

4848
<Check>
4949
**Want to help us get better? Have questions or feedback?**

multi-chain-realtime-transaction-and-packet-tracking.mdx

+3-3
Original file line numberDiff line numberDiff line change
@@ -485,8 +485,8 @@ Any execution errors for the initial transaction will be surfaced in the error f
485485
```
486486

487487

488-
<Tip>
489-
** Want to help us get better? Have questions or feedback?**
488+
<Check>
489+
**Want to help us get better? Have questions or feedback?**
490490

491491
You can reach us easily by joining [our Discord](https://skip.money/discord) and grabbing the "Skip API Developer" role.
492-
</Tip>
492+
</Check>

overview-and-typical-usage.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ On a cross-chain swapping and transferring frontend, integrators typically:
6161
![](/images/a83beaf-CleanShot_2024-05-23_at_15.59.452x.png)
6262

6363

64-
<Tip>
64+
<Check>
6565
**Want to help us get better? Have questions or feedback?**
6666

6767
You can reach us easily by joining [our Discord](https://skip.money/discord) and grabbing the "Skip API Developer" role.
68-
</Tip>
68+
</Check>
6969

quickstart-guide.mdx

+5-5
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ const route = await skipClient.route({
178178

179179

180180
<Note>
181-
** Adding a fee for yourself**
181+
**Adding a fee for yourself**
182182

183183
You can your set your own swap fee into the quote by setting `cumulativeAffiliateFeeBPS` to the total fee amount you want to collect from the user, measured in hundredths of a percent (aka "bips").
184184

@@ -224,7 +224,7 @@ Two things you should notice about this code:
224224

225225

226226
<Warning>
227-
Never attempt to derive an address on one chain from an address on another chain
227+
**Never attempt to derive an address on one chain from an address on another chain**
228228

229229
Whenever you need a user address, please request it from the corresponding wallet / signer. Do not attempt to use bech32 cross-chain derivation.
230230

@@ -266,8 +266,8 @@ After the transaction completes, you'll have additional TIA in your Celestia add
266266
</Info>
267267

268268

269-
<Tip>
270-
Want to help us get better? Have questions or feedback?
269+
<Check>
270+
**Want to help us get better? Have questions or feedback?**
271271

272272
You can reach us easily by joining [our Discord](https://skip.money/discord) and grabbing the "Skip API Developer" role.
273-
</Tip>
273+
</Check>

smart-relay.mdx

+3-3
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ Smart Relay incurs a user cost because Smart Relay involves actually submitting
9292
* **Token Exchange Rates:** The token the user pays their fee in and the token Smart Relaying pays gas fees in may differ, so exchange rates affect the price the end user experiences. (e.g. If the user pays in OSMO for a route that terminates on Ethereum mainnet, Smart Relay will need to pay fees in ETH, so the amount of OSMO the user pays will depend on the OSMO/ETH spot price.)
9393

9494

95-
<Tip>
96-
** Want to help us get better? Have questions or feedback?**
95+
<Check>
96+
**Want to help us get better? Have questions or feedback?**
9797

9898
You can reach us easily by joining [our Discord](https://skip.money/discord) and grabbing the "Skip API Developer" role.
99-
</Tip>
99+
</Check>

supported-ecosystems-and-bridges.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ The very short summary is that our Cosmos ecosystem support is most mature, foll
8181

8282

8383
<Check>
84-
** Want to help us get better? Have questions or feedback?**
84+
**Want to help us get better? Have questions or feedback?**
8585

8686
You can reach us easily by joining [our Discord](https://skip.money/discord) and grabbing the "Skip API Developer" role.
8787
</Check>

0 commit comments

Comments
 (0)