Constructs a new SplTokenParseTask.
Optional
properties: ISplTokenParseTaskProperties to set
Optional
AccountSplTokenParseTask AccountAddress.
Optional
mintThe publicKey of the token mint address.
Optional
tokenThe publicKey of a token account to fetch the mintInfo for.
Static
createCreates a new SplTokenParseTask instance using the specified properties.
Optional
properties: ISplTokenParseTaskProperties to set
SplTokenParseTask instance
Static
decodeDecodes a SplTokenParseTask message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length: numberMessage length if known beforehand
SplTokenParseTask
If the payload is not a reader or valid buffer
If required fields are missing
Static
decodeDecodes a SplTokenParseTask message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
SplTokenParseTask
If the payload is not a reader or valid buffer
If required fields are missing
Static
encodeEncodes the specified SplTokenParseTask message. Does not implicitly verify messages.
SplTokenParseTask message or plain object to encode
Optional
writer: WriterWriter to encode to
Writer
Static
encodeEncodes the specified SplTokenParseTask message, length delimited. Does not implicitly verify messages.
SplTokenParseTask message or plain object to encode
Optional
writer: WriterWriter to encode to
Writer
Static
fromCreates a SplTokenParseTask message from a plain object. Also converts values to their respective internal types.
Plain object
SplTokenParseTask
Static
getStatic
toCreates a plain object from a SplTokenParseTask message. Also converts values to other types if specified.
SplTokenParseTask
Optional
options: IConversionOptionsConversion options
Plain object
Static
verify
Fetch the JSON representation of an SPL token mint.