Skip to main content
  • Snap

snap_getFile

Parameters

path

string

The path to the file to retrieve.

encoding

"base64" | "hex" | "utf8" | undefined

The encoding to use when retrieving the file.

Returns

string

The result returned by the snap_getFile method.