How to call arbitrary pallet extrinsic from ink! ? Is there a universal approach to do that? I'd like to engage governance's features into my ink! smart contract.

  • 1
    There's actually a PR in flight right now to allow this using the call_runtime API exposed by pallet-contracts: github.com/paritytech/ink/pull/1641. Otherwise you have to use Chain Extensions as Justin mentioned
    – HCastano
    Feb 9, 2023 at 20:55

1 Answer 1


I am not too sure about calling extrinsics in-specific, though I understand the main approach to calling runtime-level functions is via ink! chain extensions. There's also examples of this.

  • your example returns a 404
    – gatsey
    Feb 26, 2023 at 15:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.