Type Parameters
- T extends
| "web2Request"
| "crosschainOperation"
| "native"
| "demoswork"
| "identity"
| "instantMessaging"
| "nativeBridge"
| "l2psEncryptedTx"
Returns tx is Transaction & {
content: {
data: [T, any];
};
}
True if the transaction's data is of the specified type
Type guard to check if a transaction's data matches the expected type