Skip to main content


readonly attachMetadataJson!: (
label: number | bigint,
metadataJson: any
) => TxBuilderRunner
  • label: number | bigint;
  • metadataJson: any;

like attachMetadata, adds a metadata entry for the given label, or overrides if the same label was already present.

metadataJson is a jsavascript value converted as follows

returns a reference to the same TxBuilderRunner.