Skip to content

@pumpkin-plugins/signing API / wasm / customSection

Function: customSection() ​

customSection(name, data): Buffer

Defined in: wasm.ts:121

Encodes a custom section.

Parameters ​

name ​

string

The section name.

data ​

Uint8Array

The section data.

Returns ​

Buffer

The section bytes: id 0, size, name length, name, data.

Pumpkin Plugins documentation