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

This commit is contained in:
clearloop
2023-06-15 14:20:39 +04:00
committed by GitHub
parent b403401753
commit f8b1b2bf94
+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<()>> {