Actions
callAnyContract
Generic StarkNet contract interaction handler.
useCallAnyContract()
Executes any StarkNet contract method. Handles all contract interactions not covered by specific hooks.
Parameters
- encryptKey (string): User’s decryption PIN
- wallet (WalletData): Wallet credentials
- contractAddress (string): Target contract address
- entrypoint (string): Contract method name
- calldata (any[]): Arguments for the contract method
Example Implementation
Related Actions
:::warning Use with caution. Direct contract calls require deep understanding of the target contract’s ABI and security implications. :::