Tells the network to re-evaluate a funding transaction.

Name
Type
Description
txId
string
The ID of the funding transaction to re-evaluate.

Type
Description
object
A JSON object with the following values.
response = {
	id, // The transaction ID of the fund transfer
	quantity, // How much is being transferred
	reward, // The amount taken by the network as a fee
	target, // The address the funds were sent to
};

ℹ️

Use a token-specific version of getIrysUploader() to connect to an Irys Bundler before uploading. Choose one from here.

const irys = await getIrysUploader();

try {
	// First get a receipt
	const fundTx = await irys.fund(irys.utils.toAtomic(0.05));
	const response = await irys.funder.submitFundTransaction(fundTx.id);

} catch (e) {
	console.log("Error funding ", e);
}