@tatumio/tatum-v1
Version:
Tatum API client allows browsers and Node.js clients to interact with Tatum API.
17 lines (16 loc) • 842 B
TypeScript
import { TransferCeloOffchain } from '../model/request/TransferCeloOffchain';
/**
* Send Celo transaction from Tatum Ledger account to the blockchain. This method broadcasts signed transaction to the blockchain.
* This operation is irreversible.
* @param testnet mainnet or testnet version
* @param body content of the transaction to broadcast
* @param provider url of the Celo Server to connect to. If not set, default public server will be used.
* @returns transaction id of the transaction in the blockchain or id of the withdrawal, if it was not cancelled automatically
*/
export declare const sendCeloOffchainTransaction: (testnet: boolean, body: TransferCeloOffchain, provider?: string | undefined) => Promise<import("../model").SignatureId | {
id: string;
txId: string;
completed: boolean;
} | {
id: string;
}>;