serializedUnsigned method
- int? chainId
Implementation
Uint8List serializedUnsigned([int? chainId]) {
return encodeRLP(
RLPList(
[
RLPBigInt(nonce),
RLPBigInt(gasPrice),
RLPBigInt(gasLimit),
RLPString(to),
RLPBigInt(value),
RLPBytes(data),
if (chainId != null) ...[
RLPInt(chainId),
RLPNull(),
RLPNull(),
]
],
),
);
}