注意: 此页面尚未翻译成中文。以下内容为英文原版。
type FormatType: "sighash" | "minimal" | "full" | "json";
The format to serialize the output as. sighash - the bare formatting, used to compute the selector or topic hash; this format cannot be reversed (as it discards indexed) so cannot by used to export an Interface. minimal - Human-Readable ABI with minimal spacing and without names, so it is compact, but will result in Result objects that cannot be accessed by name. full - Full Human-Readable ABI, with readable spacing and names intact; this is generally the recommended format. json - The ABI JSON Specification.

Source

abi/fragments.ts:117