-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
nsjames
authored and
nsjames
committed
Jul 31, 2023
1 parent
e082509
commit 9c49e1d
Showing
5 changed files
with
104 additions
and
10 deletions.
There are no files selected for viewing
42 changes: 42 additions & 0 deletions
42
...ocusaurus-plugin-content-docs-evm/current/23_advanced-guides/10_account-info.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
--- | ||
title: 토큰 및 내역 목록 | ||
--- | ||
|
||
계정에 대한 토큰 잔고 및 거래 내역 목록을 가져와야 하는 경우가 있습니다.일반적인 사용 사례입니다. | ||
다양한 블록체인 애플리케이션에 적합합니다. | ||
|
||
우리는 사용합니다 [`블록스카우트`](https://docs.blockscout.com/) 사용할 수 있는 다양한 API가 있는 탐색기로서 | ||
블록체인에 대한 다양한 정보를 얻을 수 있습니다. | ||
|
||
## 당사의 호스팅 서버 | ||
|
||
이러한 모든 API에 대해 당사의 호스팅 서버를 사용할 수 있습니다. | ||
|
||
``` | ||
MAINNET: | ||
https://explorer.evm.eosnetwork.com/ | ||
TESTNET: | ||
https://explorer.testnet.evm.eosnetwork.com/ | ||
``` | ||
|
||
## 토큰 잔고 가져오기 | ||
|
||
계정의 토큰 잔고 목록을 가져오려면 계정 모듈 API를 사용할 수 있습니다. `tokenlist` 끝점. | ||
|
||
|
||
``` | ||
/api?module=account&action=tokenlist&address={address} | ||
``` | ||
|
||
이 엔드포인트에 대한 자세한 내용은 을 참조하십시오. [블록스카우트 문서](https://docs.blockscout.com/for-users/api/rpc-endpoints/account#get-list-of-tokens-owned-by-address). | ||
|
||
## 거래 내역 가져오기 | ||
|
||
계정에 대한 거래 목록을 가져오려면 계정 모듈 API를 사용할 수 있습니다. `txlist` 끝점. | ||
|
||
``` | ||
/api?module=account&action=txlist&address={address}&startblock=555555&endblock=666666&page=1&offset=5&sort=asc | ||
``` | ||
|
||
이 엔드포인트에 대한 자세한 내용은 을 참조하십시오. [블록스카우트 문서](https://docs.blockscout.com/for-users/api/rpc-endpoints/account#get-transactions-by-address). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
...ocusaurus-plugin-content-docs-evm/current/23_advanced-guides/10_account-info.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
--- | ||
title: 列出代币和历史记录 | ||
--- | ||
|
||
有时,您需要获取一个账户的代币余额和交易历史列表。这是一个常见的用例 | ||
适用于各种区块链应用程序。 | ||
|
||
我们用 [`blockscout`](https://docs.blockscout.com/) 作为我们的资源管理器,它有各种 API 可用于 | ||
获取有关区块链的各种信息。 | ||
|
||
## 我们的托管服务器 | ||
|
||
您可以将我们的托管服务器用于这些 API 中的任何一个。 | ||
|
||
``` | ||
MAINNET: | ||
https://explorer.evm.eosnetwork.com/ | ||
TESTNET: | ||
https://explorer.testnet.evm.eosnetwork.com/ | ||
``` | ||
|
||
## 获取代币余额 | ||
|
||
要获取一个账户的代币余额列表,我们可以使用账户模块 API `tokenlist` 端点。 | ||
|
||
|
||
``` | ||
/api?module=account&action=tokenlist&address={address} | ||
``` | ||
|
||
如果您想了解有关此端点的更多信息,可以阅读 [Blockscou](https://docs.blockscout.com/for-users/api/rpc-endpoints/account#get-list-of-tokens-owned-by-address)。 | ||
|
||
## 获取交易记录 | ||
|
||
要获取账户的交易清单,我们可以使用账户模块 API `txlist` 端点。 | ||
|
||
``` | ||
/api?module=account&action=txlist&address={address}&startblock=555555&endblock=666666&page=1&offset=5&sort=asc | ||
``` | ||
|
||
如果您想了解有关此端点的更多信息,可以阅读 [Blockscou](https://docs.blockscout.com/for-users/api/rpc-endpoints/account#get-transactions-by-address). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters