Null Signer
- class NullSigner
A signer implementation that always produces
solders.signature.Signature.default(). Used as a placeholder for absentee signers whose ‘Pubkey` is required to construct the transaction.- Parameters:
pubkey (Pubkey) – The pubkey of the signer.
- static default()
Create a new default null signer.
- Returns:
The default null signer.
- Return type:
- static from_bytes(data)
Deserialize a serialized
NullSignerobject.- Parameters:
data (bytes) – The serialized
NullSigner.- Returns:
The deserialized
NullSigner.- Return type:
- static from_json(raw)
Build from a JSON string.
- sign_message(message)
Simply returns
solders.signature.Signature.default().- Returns:
The default signature.
- Return type:
- to_json()
Convert to a JSON string.