# EVM based blockchains

{% hint style="success" %}
<https://api.dexlens.io/chain/${chainid}>
{% endhint %}

### /getbalance

Retrieve the balance of a specified user or account.

### /getblock

Fetch details about a specific block within the blockchain.

### /getgasprice

Obtain the current gas price data.

### /getstorage

Access the stored data from a specified smart contract.

### /gettransaction

Get detailed information on a specific transaction.

### /getgasfees

Retrieve the current gas fees for transactions.

### /portfolio

Access user's portfolio details, including assets and balances.

### /getusertransactions

Fetch a list of transactions associated with a specified user.

### /sendtransaction

Initiate a new transaction on the blockchain.

### /genericsmartcontractmethod

Call a generic method on a smart contract.

### /decodetransaction

Decode the details of a specified transaction.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.dexlens.io/sdk-and-api/api/blockchains/evm-based-blockchains.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
