Constructs a new SplTokenParseTask.
Optionalproperties: ISplTokenParseTaskProperties to set
OptionalAccountSplTokenParseTask AccountAddress.
OptionalmintThe publicKey of the token mint address.
OptionaltokenThe publicKey of a token account to fetch the mintInfo for.
Converts this SplTokenParseTask to JSON.
JSON object
StaticcreateCreates a new SplTokenParseTask instance using the specified properties.
Optionalproperties: ISplTokenParseTaskProperties to set
SplTokenParseTask instance
StaticdecodeDecodes a SplTokenParseTask message from the specified reader or buffer.
Reader or buffer to decode from
Optionallength: numberMessage length if known beforehand
SplTokenParseTask
StaticdecodeDecodes a SplTokenParseTask message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
SplTokenParseTask
StaticencodeEncodes the specified SplTokenParseTask message. Does not implicitly verify messages.
SplTokenParseTask message or plain object to encode
Optionalwriter: WriterWriter to encode to
Writer
StaticencodeEncodes the specified SplTokenParseTask message, length delimited. Does not implicitly verify messages.
SplTokenParseTask message or plain object to encode
Optionalwriter: WriterWriter to encode to
Writer
StaticfromCreates a SplTokenParseTask message from a plain object. Also converts values to their respective internal types.
Plain object
SplTokenParseTask
StaticgetGets the default type url for SplTokenParseTask
OptionaltypeUrlPrefix: stringyour custom typeUrlPrefix(default "type.googleapis.com")
The default type url
StatictoCreates a plain object from a SplTokenParseTask message. Also converts values to other types if specified.
SplTokenParseTask
Optionaloptions: IConversionOptionsConversion options
Plain object
StaticverifyVerifies a SplTokenParseTask message.
Plain object to verify
null if valid, otherwise the reason why it is not
Fetch the JSON representation of an SPL token mint.