buildSolanaTransaction



Builds a Solana-compatible transaction for the specified blockchain.

Return

A Result containing BuildSolanaTransactionResponse if successful, or an error if the operation fails.

Parameters

chainId

The blockchain identifier, must start with "solana:".

params

The transaction parameters.

traceId

Optional trace ID forwarded as the X-Portal-Trace-Id header. When null, a new UUID is generated for this request. Pass a shared value (e.g. from io.portalhq.android.data.SendAssetParams) to correlate multi-step operations.

Throws

If chainId does not start with "solana:".