Skip to content

Commit

Permalink
Update image size in RPC
Browse files Browse the repository at this point in the history
  • Loading branch information
owans committed Dec 13, 2024
1 parent 4411c23 commit 71de40a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
12 changes: 6 additions & 6 deletions docs/02-developers/07-rpc-api/02-rootstock/01-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: "Get started with the Rootstock RPC Service to interact with Rootst
---

<div align="center">
<img width="50%" src="/img/tools/rpc-api/01-rpc-api-landing.png" alt="RPC Service Landing Page"/>
<img width="100%" src="/img/tools/rpc-api/01-rpc-api-landing.png" alt="RPC Service Landing Page"/>
</div>

:::info[Info]
Expand All @@ -19,7 +19,7 @@ The [Rootstock RPC API](https://rpc.rootstock.io/) is available on <Shield labe
Visit the [Rootstock RPC API](https://rpc.rootstock.io/) to create a **free** account, and click on _Sign up_

<div align="center">
<img width="50%" src="/img/tools/rpc-api/02-sign-up.png" alt="RPC Service Sign Up"/>
<img width="100%" src="/img/tools/rpc-api/02-sign-up.png" alt="RPC Service Sign Up"/>
</div>

## Get An API Key
Expand All @@ -29,27 +29,27 @@ To get an API key:
Log in to the dashboard, and click on _New API key_:

<div align="center">
<img width="50%" src="/img/tools/rpc-api/03-generate-new-api-key.png" alt="Generate an API key"/>
<img width="100%" src="/img/tools/rpc-api/03-generate-new-api-key.png" alt="Generate an API key"/>
</div>

Choose a name to identify your `apikey`, and the Network (either `Testnet` or `Mainnet`). You can also add a description (optional). Click on **Create**.

<div align="center">
<img width="50%" src="/img/tools/rpc-api/04-create-api-key.png" alt="Create API key"/>
<img width="100%" src="/img/tools/rpc-api/04-create-api-key.png" alt="Create API key"/>
</div>

## Make First API Call

Click on the newly created `apikey` to get the details:

<div align="center">
<img width="50%" src="/img/tools/rpc-api/05-make-first-api-call.png" alt="Make First API Call"></img>
<img width="100%" src="/img/tools/rpc-api/05-make-first-api-call.png" alt="Make First API Call"></img>
</div>

You can make your first api call by using one of the provided examples, or simply by adding a url and `apikey` to your application.

<div align="center">
<img width="50%" src="/img/tools/rpc-api/06-connect-api.png" alt="Connect API"/>
<img width="100%" src="/img/tools/rpc-api/06-connect-api.png" alt="Connect API"/>
</div>

### Example Request
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ description: "Here, we will learn how to perform a peg-out using Metamask and ha
tags: [powpeg app, peg-in, peg-out, bridge, rsk, rootstock]
---


![PowPeg App (peg-out)](/img/resources/powpeg/pegout.gif)

## Performing a peg-out transaction using Ledger and Liquality
Expand Down Expand Up @@ -51,7 +50,6 @@ To connect with a Ledger Wallet:

Now you can see "Ledger" or "Trezpr" label in your Metamask accounts


<center>
<img src="/img/resources/powpeg/trezor-wallet-imported-metamask.png" title="Final screen" width="100%"/>
</center>
Expand Down

0 comments on commit 71de40a

Please sign in to comment.