Documentation Index
Fetch the complete documentation index at: https://docs.crossmint.com/llms.txt
Use this file to discover all available pages before exploring further.
Final Class
A signer that delegates all signing to the Crossmint backend via API key authentication.
final class CrossmintApiKeySigner implements CrossmintWalletApprovalSigner
This signer never performs local signing. When a wallet uses an API key
signer, the Crossmint backend automatically approves transactions and
signatures on behalf of the user.
Calling signMessage or signTransaction directly will throw; signing
is handled server-side during the transaction/signature creation API call.
Constructors
CrossmintApiKeySigner
const CrossmintApiKeySigner({String? locator})
Creates an API key signer.
Properties
type
locator
Methods
signMessage
Future<Object> signMessage(String message)
Always throws — API key signers do not support local message signing.
signTransaction
Future<Object> signTransaction(String transaction)
Always throws — API key signers do not support local transaction signing.