polkascan / py-substrate-interface

Python Substrate Interface
https://polkascan.github.io/py-substrate-interface/
Apache License 2.0
240 stars 114 forks source link

Support for batchAll extrinsic #243

Closed bmacer closed 1 year ago

bmacer commented 1 year ago

it seems like batch works fine, but there's not support for batchAll.

arjanz commented 1 year ago

There is, the name according to the metadata from Substrate is actually batch_all. I assume you got the name from PolkadotJS, which does a CamelCase conversion.

You can always check substrate.get_metadata_call_functions() for supported call functions

bmacer commented 1 year ago

Awesome, thanks for letting me know! Indeed I was trying the camelCase. Cheers!