-
-
Notifications
You must be signed in to change notification settings - Fork 0
DogeApi
martiliones edited this page Jun 12, 2023
·
1 revision
Bitcoin base multiplier
-
Type
interface DogeApi { multiplier: 100000000; }
Creates base bitcoin transaction
-
Type
interface DogeApi { createTransaction( address: string, amount: number, fee: number ): Promise<SignedJsonTx>; }
-
References
Gets the account's balance
-
Type
interface DogeApi { getBalance(): Promise<number>; }
Gets fee
-
Type
interface DogeApi { getFee(): number; }
Gets transaction by the specified id
-
Type
interface DogeApi { getTransaction(transactionId: string): BitcoinBaseTransaction; }
-
References
Gets list of transactions by specified filters
-
Type
interface DogeApi { getTransactions(options: { address: string; from: number; }): { hasMore: boolean; items: BitcoinBaseTransaction[] }; }
-
References
Gets unspents
-
Type
interface DogeApi { getUnspents(address: string): Promise<DogeUnspents>; } interface DogeUnspents { amount: number; txid: string; vout: { address: string; value: number }[]; }
Sends a signed transaction
-
Type
interface DogeApi { sendTransaction(signedTx: any): Promise<any>; }