Skip to content

useSign

function useSign(): UseMutationResult<Signature, Error, Uint8Array<ArrayBufferLike>, unknown>;

Defined in: packages/iso-filecoin-react/src/wallet-provider.js:642

Hook to sign a message

Returns

UseMutationResult<Signature, Error, Uint8Array<ArrayBufferLike>, unknown>

Example

import {
function useSign(): UseMutationResult<Signature, Error, Uint8Array<ArrayBufferLike>, unknown>

Hook to sign a message

@example

import { useSign } from 'iso-filecoin-react'

useSign
} from 'iso-filecoin-react'