Agreements
Programmatically accept DFNS and third-party provider service agreements, privacy policies, and terms of service required for certain features.
Some DFNS services require an explicit agreement acceptance before they can be used. The agreements API allows you to programmatically view and sign these agreements
Supported Agreements
The list below shows which agreements types are available on the API.| Agreement Type | Description |
|---|---|
| UniswapTermsOfService | The terms of service to use the UniswapClassic and UniswapX providers on the Swaps API |
| UniswapPrivacyPolicy | The privacy policy to use the UniswapClassic and UniswapX providers on the Swaps API |
Agreement object
Latest unaccepted agreement, or null if none.
ID of the agreement.
Details of the agreement.
Type of the agreement.
Available options:
PrivacyPolicy, TermsAndConditions, UniswapTermsOfService, UniswapPrivacyPolicy URL where the full agreement document can be viewed.
Last modified on June 8, 2026