BroadcastRequestType
BroadcastRequestType: any = Type.forSchema({type: "record",fields: [{name: "transaction",type: ["null", TransactionType.schema()],default: null},{name: "transactions",type: ["null", { type: "array", items: TransactionType.schema() }],default: null}]})
BroadcastResponseType
BroadcastResponseType: any = Type.forSchema({type: "record",fields: [{name: "transaction",type: ["null", "long"],default: null},{name: "transactionIds",type: ["null", { type: "array", items: "long" }],default: null}]})
TransactionType
TransactionType: any = Type.forSchema({type: "record",fields: [{ name: "type", type: "int" },{ name: "subtype", type: "int" },{ name: "version", type: "int" },{ name: "timestamp", type: "int" },{ name: "deadline", type: "int" },{ name: "senderPublicKey", type: "bytes", size: 32 },{ name: "recipientId", type: "long" },{ name: "amountHQT", type: "long" },{ name: "feeHQT", type: "long" },{ name: "signature", type: "bytes", size: 64 },{ name: "flags", type: "int" },{ name: "ecBlockHeight", type: "int" },{ name: "ecBlockId", type: "long" },{ name: "attachmentBytes", type: "bytes" },{ name: "appendixBytes", type: "bytes" }]})