# \[ethjs-query\] while formatting outputs from RPC ‘{“value”:{“code”:-32000,”message”:”replacement transaction underpriced”}}’

**URL:** <https://community.metamask.io/t/ethjs-query-while-formatting-outputs-from-rpc-value-code-32000-message-replacement-transaction-underpriced/25878>\
**Category:** Swaps and Bridges\
**Created:** [June 6, 2023, 9:30am UTC](https://community.metamask.io/t/ethjs-query-while-formatting-outputs-from-rpc-value-code-32000-message-replacement-transaction-underpriced/25878 "2023-06-06T09:30:09Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Maryam](https://dub1.discourse-cdn.com/metamask/user_avatar/community.metamask.io/maryam/32/14141_2.png) [@Maryam](https://community.metamask.io/u/Maryam)\
**Post date:** [June 6, 2023, 10:44am UTC](https://community.metamask.io/t/ethjs-query-while-formatting-outputs-from-rpc-value-code-32000-message-replacement-transaction-underpriced/25878/4 "2023-06-06T10:44:40Z")

</div>

> [@user2170](#):
>
> I did that and it helped to remove the pending transaction, but still getting the same error when I try to swap tokens.

Changing the Polygon network RPC may help you. You can do it via chainlist. Remove the 2 spaces I inserted in the link.  
https:// chainlist. org/  
Click the arrow below the the Polygon network box on Chainlist. There you can find a list of RPCs. Choose one at the top of the list and add it to your MetaMask wallet.  
The following article is related.

> **[How to add a custom network RPC](https://support.metamask.io/hc/en-us/articles/360043227612-How-to-add-a-custom-network-RPC)**
>
> Contents:
> 
> Adding via Chainlist
> Adding popular networks quickly
> Adding networks manually
> 
>  
> MetaMask can access many more networks than just Ethereum mainnet: you can add any EVM-compatible network...

> [@user2170](#):
>
> Should I do that or we could try to fix it here

Please do what I have suggested above. Let me know how it goes.

---

_[View the full topic](https://community.metamask.io/t/ethjs-query-while-formatting-outputs-from-rpc-value-code-32000-message-replacement-transaction-underpriced/25878)._
