getAccountModule

abstract suspend fun getAccountModule(accountAddress: AccountAddressInput, moduleName: String, param: LedgerVersionQueryParam.() -> Unit = {}): Option<MoveModuleBytecode>

Queries for a specific account module given account address and module name

Parameters

accountAddress

Aptos account address

moduleName

Name of the module

param

LedgerVersionQueryParam to optionally configure the ledger version