注意: 此页面尚未翻译成中文。以下内容为英文原版。
function copyRequest(req): PreparedTransactionRequest
Returns a copy of req with all properties coerced to their strict types.

Parameters

ParameterTypeDescription
reqTransactionRequestThe transaction request to copy.

Returns

PreparedTransactionRequest The prepared transaction request.

Throws

If the request is invalid.

Source

providers/provider.ts:388