resolveTransactionId

Looks up federation information for a transaction ID.

Queries the federation server to find information associated with a specific Stellar transaction. This is used to discover the sender or recipient information for a completed transaction.

Return

The federation response containing account information

Parameters

txId

The Stellar transaction hash to look up

Throws

If the federation server returns an invalid response or the transaction ID is not found

Example:

val service = FederationService.fromDomain("stellar.org")
val response = service.resolveTransactionId(
"3389e9f0f1a65f19736cacf544c2e825313e8447f569233bb8db39aa607c8889"
)

println("Transaction account: ${response.accountId}")