Optional
unit?: { Readonly
requestReadonly
snapReadonly
snapfil_getGasForMessage
RPC method params
Optional
maxOptional
gasOptional
gasOptional
gasOptional
method?: numberOptional
nonce?: numberOptional
params?: stringOptional
version?: 0Configure the snap
FilSnapMethods.fil_configure params
Export the account private key from the snap
Request account info from the snap
Request account address from the snap
Request account balance from the snap
Request account public key from the snap
Send a signed message
Sign a message
Optional
gasOptional
gasOptional
gasOptional
method?: numberOptional
nonce?: numberOptional
params?: stringOptional
version?: 0Sign a raw message
Static
connectInstalls and connects to Filsnap
Snap config
Snap ID to check for. Defaults to npm:filsnap
which is the default ID for the Filsnap snap.
Snap version to check for. Defaults to *
which matches any version.
Error if Metamask is not installed
Static
hasStatic
isCheck if Filsnap is installed and enabled
Snap ID to check for. Defaults to npm:filsnap
which is the default ID for the Filsnap snap.
Snap version to check for. Defaults to *
which matches any version.
Generated using TypeDoc
Estimate the gas for a message
maxFee
is optional and defaults to100000000000000000
attoFIL (0.1 FIL)