Class LocalTransactionSubmission
Hierarchy
- EventEmitter
- LocalTransactionSubmission
Constructors
constructor
- new LocalTransactionSubmission(socket, LocalTransactionSubmissionDecoderStream): LocalTransactionSubmission
-
Parameters
-
socket: Socket
-
LocalTransactionSubmissionDecoderStream: Readable
Methods
done
- done(): void
-
Returns void
on
- on(event, listener): LocalTransactionSubmission
-
Parameters
-
event: "data"
-
listener: ((data) => void)
-
- (data): void
-
Parameters
-
data: LocalTransactionSubmissionResponse
Returns void
- on(event, listener): LocalTransactionSubmission
-
Parameters
-
event: "error"
-
listener: ((error) => void)
-
- (error): void
-
Returns void
submitTransaction
- submitTransaction(era, transactionCbor): void
-
Parameters
-
era: number
-
transactionCbor: Buffer
Returns void