GET /tx/:txid/outspend/:vout

Returns the spending status of a transaction output.

This method will use 10 Compute Units.


Parameters

txid- transaction hash, required.

Example: 92e61d56a3d79fd6b2fc53d4577f51faa61485e0165eae746a6f3ded5b994655

vout- transaction output, required.

Example: 0

Returns

Returns the spending status of a transaction output.

Available fields: spent (boolean), txid (optional), vin (optional) and status (optional, the status of the spending tx).

{
	"spent": false
}

curl https://mainnet.bitcoin.validationcloud.io/v1/<YOUR_API_KEY>/tx/92e61d56a3d79fd6b2fc53d4577f51faa61485e0165eae746a6f3ded5b994655/outspend/0 \
 -X GET

Last updated

Was this helpful?