Open will-break-it opened 2 years ago
I'd add reference_script_hash
to the list of missing fields
This is the class I think, it seems that the 3 fields are missing
public class AddressUtxo {
/**
* Transaction hash of the UTXO
*/
private String txHash;
/**
* UTXO index in the transaction
*/
private Integer outputIndex;
/**
* Array of TransactionOutputAmount objects
*/
private List<TransactionOutputAmount> amount = new ArrayList<TransactionOutputAmount>();
/**
* Block number of the UTXO
*/
private String block;
}
@bentaye Yes the missing fields need to be added to AddressUtxo.java . You can find the field definitions for this object here in openapi yml https://github.com/blockfrost/openapi/blob/a025b0a994eaea80dcd1a575f54704d7aaffc9da/openapi.yaml#L6950
I opened a PR here https://github.com/blockfrost/blockfrost-java/pull/8
@will991 The PR with the new fields have been merge, please check if it is all good now.
According to the OpenAPI specifications this endpoint should return
data_hash
,inline_datum
and other script output related fields. Unfortunately, it doesn't. Perhaps a new version needs to be released to match the documentation.