opstack-kit-chains
Version:
Support your OP-Stack network with 'opstack-kit'
13 lines (11 loc) • 455 B
text/typescript
import type { ByteArray, Hex } from './misc.js'
export type BlobSidecar<type extends Hex | ByteArray = Hex | ByteArray> = {
/** The blob associated with the transaction. */
blob: type
/** The KZG commitment corresponding to this blob. */
commitment: type
/** The KZG proof corresponding to this blob and commitment. */
proof: type
}
export type BlobSidecars<type extends Hex | ByteArray = Hex | ByteArray> =
BlobSidecar<type>[]