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.
1 Answer
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.
-
-
@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. Feb 25, 2022 at 16:02