@cosmosapp/pay_sdkDefinitionenWeb
FreighterAdapter
Wallet adapter for the Freighter browser extension. Reference for the FreighterAdapter class of @cosmosapp/pay_sdk/web: its members and their signatures.
Wallet adapter for the Freighter browser extension.
Constructor
FreighterAdapter
constructor(injected?: FreighterApi | undefined)Parameters
injected(optional):FreighterApi | undefined
Properties
id
readonly id = "freighter"name
readonly name = "Freighter"Methods
isAvailable()
isAvailable(): Promise<boolean>Returns Promise<boolean>
getPublicKey()
getPublicKey(_network: NetworkConfig): Promise<string>Parameters
_network:NetworkConfig
Returns Promise<string>
signTransaction()
signTransaction(xdr: string, params: SignParams): Promise<string>Parameters
xdr:stringparams:SignParams
Returns Promise<string>
WebhookSignatureError
Thrown when a webhook signature fails verification. Reference for the WebhookSignatureError class of @cosmosapp/pay_sdk: its members and their signatures.
XBullAdapter
Wallet adapter for the xBull wallet. Reference for the XBullAdapter class of @cosmosapp/pay_sdk/web: its members and their signatures.