Skip to main content
Version: IOTA

Get Outputs

EXPLANATION: Outputs

You can learn more about Outputs in the Messages, Payloads and Transactions section.

There are three functions you can use to get Unspent Transaction Output (UTXO) outputs related an address.

Client.get_address().outputs(address: String, options: OutputOptions)

This Client.get_address().outputs(address: String, options: OutputOptions) expects an address in Bech32 format and will get all outputs that use a given address. You can use OutputOptions to limit the returned results.

bindings/java/examples/java-app/src/main/java/org/iota/client/example/ExampleApp.java
loading...

Output example:

[
"0f2d5d2651f8061a9f5417d0658009f32b2e3f77f9706b0be3b4b3f466171f360000",
"7614ba900a90b130707766a660a454942ac7cc4adea3fb9ad0cdca90114417c20000",
"768c20c15a290e02a43b83263a98501b9d7eb0b57da40a9247289c672de63ea60000"
]

Client.getOutput(output_id: String)

The Client.getOutput(output_id: String) function to get metadata about the an output_id:

Client.findOutputs(output_ids:String[], addresses:String[])

The Client.findOutputs(output_ids:String[], addresses:String[]) function expects an array of Strings representing the output ids to look up, as well as an array of Strings representing the addresses to look up.