Gets the details for an unconfirmed transaction by txid, including the fees and virtual machine events for an unconfirmed transaction.
Usage
visionWeb.vs.getUnconfirmedTransactionInfo(txId);
Parameters
Parameter | Description | Type | Default |
---|---|---|---|
txId | Transaction id. | string | - |
Returns
Object
Example
visionWeb.vs.getUnconfirmedTransactionInfo("c01bb6832a42129e8da3b05909de5245286bc2fbe2df148713c8f8a39a28c072");
> {
id: 'c01bb6832a42129e8da3b05909de5245286bc2fbe2df148713c8f8a39a28c072',
blockNumber: 37259,
blockTimeStamp: 1608124281000,
contractResult: [ '' ],
receipt: { net_usage: 265 }
}