chore(subxt): make payload details public (#1014)

This commit is contained in:
clearloop authored and GitHub committed 2023-06-15 11:20:39 +01:00
1 parent b403401753
commit f8b1b2bf94
1 file changed
+10
+10
View File
@@ -120,6 +120,16 @@ impl<CallData> Payload<CallData> {
pub fn call_data(&self) -> &CallData {
&self.call_data
}
/// Returns the pallet name.
pub fn pallet_name(&self) -> &str {
&self.pallet_name
}
/// Returns the call name.
pub fn call_name(&self) -> &str {
&self.call_name
}
}
impl Payload<Composite<()>> {