MCPcopy Create free account
hub / github.com/MiloOweno/vector-mesh / getBytecode

Function getBytecode

packages/core/src/actions/getBytecode.ts:22–30  ·  view source on GitHub ↗
(
  config: config,
  parameters: GetBytecodeParameters<config>,
)

Source from the content-addressed store, hash-verified

20
21/** https://wagmi.sh/core/api/actions/getBytecode */
22export async function getBytecode<config extends Config>(
23 config: config,
24 parameters: GetBytecodeParameters<config>,
25): Promise<GetBytecodeReturnType> {
26 const { chainId, ...rest } = parameters
27 const client = config.getClient({ chainId })
28 const action = getAction(client, viem_getBytecode, 'getBytecode')
29 return action(rest)
30}

Callers 2

queryFnFunction · 0.85

Calls 1

getActionFunction · 0.85

Tested by

no test coverage detected