UNPKG

@shyft.to/solana-transaction-parser

Version:

Tool for parsing arbitrary Solana transactions with IDL/custom parsers

7 lines 342 B
import { getArrayCodec, getStructCodec } from "@solana/codecs-data-structures"; import { getU8Codec } from "@solana/codecs"; export const getAccountDataSizeLayout = getStructCodec([ ["instruction", getU8Codec()], ["extensions", getArrayCodec(getU8Codec(), { size: 1 })], ]); //# sourceMappingURL=get-account-data-size-eztension.js.map