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

Latest unaccepted agreement, or null if none.

id
string
required

ID of the agreement.

details
string
required

Details of the agreement.

agreementType
enum<string>
required

Type of the agreement.

Available options:
PrivacyPolicy,
TermsAndConditions,
UniswapTermsOfService,
UniswapPrivacyPolicy
agreementUrl
string

URL where the full agreement document can be viewed.

Last modified on June 8, 2026