import { Bytes } from "@ethernauta/core"; import * as valibot1965 from "valibot"; import { InferOutput } from "valibot"; import { Readable } from "@ethernauta/transport"; //#region src/method/state/get-code.d.ts declare const ParametersSchema: valibot1965.UnionSchema<[valibot1965.TupleSchema<[valibot1965.SchemaWithPipe, valibot1965.BrandAction<`0x${string}`, "Address">]>, valibot1965.UnionSchema<[valibot1965.SchemaWithPipe | undefined>, valibot1965.BrandAction<`0x${string}`, "Uint">]>, valibot1965.UnionSchema<[valibot1965.LiteralSchema<"earliest", undefined>, valibot1965.LiteralSchema<"finalized", undefined>, valibot1965.LiteralSchema<"safe", undefined>, valibot1965.LiteralSchema<"latest", undefined>, valibot1965.LiteralSchema<"pending", undefined>], undefined>, valibot1965.SchemaWithPipe, valibot1965.BrandAction<`0x${string}`, "Hash32">]>], undefined>], undefined>, valibot1965.ObjectSchema<{ readonly address: valibot1965.SchemaWithPipe, valibot1965.BrandAction<`0x${string}`, "Address">]>; readonly blockNumberOrTagOrHash: valibot1965.UnionSchema<[valibot1965.SchemaWithPipe | undefined>, valibot1965.BrandAction<`0x${string}`, "Uint">]>, valibot1965.UnionSchema<[valibot1965.LiteralSchema<"earliest", undefined>, valibot1965.LiteralSchema<"finalized", undefined>, valibot1965.LiteralSchema<"safe", undefined>, valibot1965.LiteralSchema<"latest", undefined>, valibot1965.LiteralSchema<"pending", undefined>], undefined>, valibot1965.SchemaWithPipe, valibot1965.BrandAction<`0x${string}`, "Hash32">]>], undefined>; }, undefined>], undefined>; type Parameters = InferOutput; /** * @returns Code at a given address. EOAs return `"0x"` (empty bytes). */ declare function eth_getCode(_parameters: Parameters): Readable; //#endregion export { eth_getCode }; //# sourceMappingURL=get-code.d.ts.map