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.
Converts this SplTokenParseTask to JSON.
JSON object
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
Static
decodeDecodes a SplTokenParseTask message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
SplTokenParseTask
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
getGets the default type url for SplTokenParseTask
Optional
typeUrlPrefix: stringyour custom typeUrlPrefix(default "type.googleapis.com")
The default type url
Static
toCreates a plain object from a SplTokenParseTask message. Also converts values to other types if specified.
SplTokenParseTask
Optional
options: IConversionOptionsConversion options
Plain object
Static
verifyVerifies 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.