Skip to content

addSignature

Adds a signature of the client user to a transaction

Import

import { SolanaSigner } from "@account-kit/signer";

Parameters

transaction

Transaction | VersionedTransaction

  • The transaction to add the signature to

Returns

Promise<Transaction | VersionedTransaction > The transaction with the signature added