Transaction Details Api
API class for multi-chain transaction detail lookups.
Calls GET /api/v3/clients/me/chains/{chain}/transactions/{signature} where both path segments are percent-encoded so that CAIP identifiers containing colons (e.g. tron:nile, bip122:…) are transmitted safely.
iOS reference: https://github.com/portal-hq/PortalSwift/pull/640
Parameters
host
The base URL of the API server.
credentials
Supplies the bearer token sent with each request.
requests
An instance of PortalRequests to handle HTTP requests.
Functions
Link copied to clipboard
suspend fun getTransactionDetails(chain: String, signature: String): Result<GetTransactionDetailsResponse>
Fetches the details of a single transaction on the given chain.