Pay component handles exact-output payment flows. You specify the precise amount the recipient receives; the SDK figures out how much the sender needs to send based on their chosen token, chain, and current rates.
Basic usage
Fund into a contract action
Passto.calldata to execute a contract call alongside the payment. Use dynamic() in the encoded args wherever the arrived amount should appear:
Props reference
For appearance and wallet options, see SDK configuration.