Skip to content

Commit

Permalink
feat: add missing apiUrl to xLayer (#2762)
Browse files Browse the repository at this point in the history
* Update xLayer.ts

* Create three-parents-provide.md

---------

Co-authored-by: jxom <jakemoxey@gmail.com>
  • Loading branch information
ezynda3 and jxom authored Sep 23, 2024
1 parent 5e1a13d commit 02d69e6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/three-parents-provide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

Added missing API URL for `xLayer`.
1 change: 1 addition & 0 deletions src/chains/definitions/xLayer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export const xLayer = /*#__PURE__*/ defineChain({
default: {
name: 'OKLink',
url: 'https://www.oklink.com/xlayer',
apiUrl: 'https://www.oklink.com/api/v5/explorer/xlayer/api',
},
},
contracts: {
Expand Down

0 comments on commit 02d69e6

Please sign in to comment.