Preparing search index...
The search index is not available
All chains
westend
Transactions
Referenda
set_metadata
Type Alias set_metadata
set_
metadata
:
TxDescriptor
<
{
index
:
number
;
maybe_hash
?:
FixedSizeBinary
<
32
>
;
}
>
Set or clear metadata of a referendum.
Parameters:
origin
: Must be
Signed
by a creator of a referendum or by anyone to clear a metadata of a finished referendum.
index
: The index of a referendum to set or clear metadata for.
maybe_hash
: The hash of an on-chain stored preimage.
None
to clear a metadata.
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
westend
Loading...
Set or clear metadata of a referendum.
Parameters:
origin
: Must beSigned
by a creator of a referendum or by anyone to clear a metadata of a finished referendum.index
: The index of a referendum to set or clear metadata for.maybe_hash
: The hash of an on-chain stored preimage.None
to clear a metadata.