요금GitHub대시보드

Aptos

/v1/accounts/{address}/resource/{resource_type}20 크레딧

Get a specific account resource

네트워크: apt

매개변수

이름타입설명
addressstringPath. Account address, with or without the 0x prefix.
resource_typestringPath. Struct tag of the resource, e.g. 0x1::account::Account.
ledger_versionstring (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}'