build Eip155Transaction
open suspend fun buildEip155Transaction(chainId: String, params: BuildTransactionParam): Result<BuildEip115TransactionResponse>
open suspend fun buildEip155Transaction(chainId: String, params: BuildTransactionParam, traceId: String?): Result<BuildEip115TransactionResponse>
Builds an EIP-155 compatible transaction for the specified blockchain.
Return
A Result containing BuildEip115TransactionResponse if successful, or an error if the operation fails.
Parameters
chain Id
The blockchain identifier, must start with "eip155:".
params
The transaction parameters.
trace Id
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 "eip155:".