Aptos
/v1/accounts/{address}/resources25 크레딧
Get all account resources
매개변수
| 이름 | 타입 | 설명 |
|---|---|---|
| address | string | Path. Account address, with or without the 0x prefix. |
| ledger_version | string (u64) | Query. Ledger version to read the account state at. Defaults to the latest version. (선택) |
| start | string | Query. Pagination cursor. It cannot be built client-side: call once without it and take the cursor from the X-Aptos-Cursor response header. (선택) |
| limit | integer | Query. Max number of resources to return. Defaults to the node page size. (선택) |
반환값
타입
object[]
Array of Move resources, each with type (struct tag, e.g. 0x1::account::Account) and data (JSON representation of the struct).
코드 예제
curl 'https://holy-burned-sky-apt-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7/v1/accounts/{address}/resources'