get Nft Assets
Retrieves the list of NFT assets owned by the client on a specific blockchain.
Behavior on 400 (changed in v9.0.0):
Genuine HTTP 400 responses now surface as
Result.failure(HttpBadRequest), propagated naturally from the transport layer.The defensive block below still handles the rare "200 OK with
errorenvelope" case by returningResult.success(empty + error)for backward compatibility with callers that branch onresponse.error. This is intentional defense-in-depth, not the primary failure path.
Return
A Result containing GetNftAssetsByChainResponse; or Result.failure(PortalException.Api.HttpBadRequest) for a 400 transport error; or Result.success(empty + error) for the rare 200-with-error-envelope case.
Parameters
chain Id
The blockchain identifier.