TarifsGitHubTableau de bord

Aptos

/v1/accounts/{address}/module/{module_name}20 crédits

Get a specific account module

Réseau: apt

Paramètres

NomTypeDescription
addressstringPath. Account address, with or without the 0x prefix.
module_namestringPath. Name of the module, e.g. coin.
ledger_versionstring (u64)Query. Ledger version to read the account state at. Defaults to the latest version. (facultatif)

Valeur renvoyée

Type

object

Move module with bytecode (hex) and abi (module name, address, exposed functions, structs).

Exemples de code

curl 'https://holy-burned-sky-apt-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7/v1/accounts/{address}/module/{module_name}'