I want to know the contract address, contract caller, and what parameters were passed into the contract call but in the Polkadot.js UI, the presented fields don't seem to be helpful. enter image description here


1 Answer 1


Caller is the signer of the extrinsic, contract address is the first argument (which named dest), parameters is the last argument (named data) but without contract definition it cannot be decoded.

  • So if I have the contract definition, how can I decode it?
    – Minh Mốc
    Commented Feb 25, 2022 at 14:58
  • @MinhMốc seems the parameters are encoded as the same codec as substrate txs, you may use @polkadot/types to decode it with the type metadata from ABI. Commented Feb 25, 2022 at 16:02

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.