@ragsters/raggie-wallet-connector
Version:
This is a React component built by the CryptoRaggies team to enable any React website to easily connect to popular Cardano wallets. The user's choice of wallet is persisted to local storage and the wallet connector will automatically reconnect the previou
12 lines (10 loc) • 669 B
TypeScript
import { Cip30Api, utxoState } from '../types';
/**
*
* @param utxos Array of UTxOs in cbor hex, as returned from the .getUtxos() method of a CIP-30 wallet
* @returns Array of UTxOs as cbor hex, after filtering out cached UTxOs that have been consumed. This can then be passed into coin selection algorithms.
*/
export declare function getUtxos(_amount?: any, _paginate?: boolean, utxos?: string[]): Promise<string[]>;
export declare function signTx(tx: string, api: Cip30Api, partialSign?: boolean, complete?: boolean): Promise<string>;
export declare function createUtxos(utxos: utxoState[]): void;
export declare function removeUtxos(utxos: utxoState[]): void;