Aptos
/v1/accounts/{address}/resource/{resource_type}20クレジット
Get a specific account resource
パラメータ
| 名前 | 型 | 説明 |
|---|---|---|
| address | string | Path. Account address, with or without the 0x prefix. |
| resource_type | string | Path. Struct tag of the resource, e.g. 0x1::account::Account. |
| ledger_version | string (u64) | Query. Ledger version to read the account state at. Defaults to the latest version. (任意) |
戻り値
型
object
Move resource with type (struct tag) and data (JSON representation of the struct).
コード例
curl 'https://holy-burned-sky-apt-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7/v1/accounts/{address}/resource/{resource_type}'