Skip to main content
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 TypeDescription
UniswapTermsOfServiceThe terms of service to use the UniswapClassic and UniswapX providers on the Swaps API
UniswapPrivacyPolicyThe privacy policy to use the UniswapClassic and UniswapX providers on the Swaps API

Agreement object

id
string
required
details
string
required
agreementType
enum<string>
required
Available options:
PrivacyPolicy,
TermsAndConditions,
UniswapTermsOfService,
UniswapPrivacyPolicy
agreementUrl
string
Last modified on February 16, 2026