Overview
Last updated
Was this helpful?
Integrate Freighter into your web application using @stellar/freighter-api. This library lets you send and receive data from a user's Freighter extension.
@stellar/freighter-api adheres to the SEP-43 standard for wallet interfaces on Stellar, and also offers additional methods beyond the spec such as getNetworkDetails, addToken, and WatchWalletChanges.
All methods return an optional error field of type FreighterApiError:
interface FreighterApiError {
code: number;
message: string;
ext?: string[];
}Detect Freighter, check permissions, request access
Get the user's address and network configuration
Sign transactions, auth entries, and messages
Add contract tokens to the user's wallet
Monitor wallet state changes in real time
Last updated
Was this helpful?
Was this helpful?
