TransactionRecipientWhitelist

The TransactionRecipientWhitelist rule validates whether the destination address is in the list of whitelisted addresses. This rule will trigger if the recipient is NOT on the specified whitelist.

Note for Broadcast Transaction and Generate Signature methods, Dfns can not reliably determine the recipient of the transaction. Therefore this rule will "fail closed" by always triggering in response to these API calls.

Configuration Object

Request body fieldsRequired/OptionalDescriptionType

addresses

Required

Whitelisted addresses

String Array

Example Rule

{
  "kind": "TransactionRecipientWhitelist",
  "configuration": {
    "addresses": ["0x...0", "0x...1"],
  },
}

Last updated