buildPaymasterAndData method
Implementation
Uint8List buildPaymasterAndData({
required BigInt validUntil,
required BigInt validAfter,
required Uint8List signature,
}) {
final addressBytes = hexDecode(paymasterAddress);
final timestamps = Uint8List(12);
_writeBigInt(timestamps, 0, validUntil, 6);
_writeBigInt(timestamps, 6, validAfter, 6);
return concatBytes([addressBytes, timestamps, signature]);
}