Compliance Lists
Compliance lists are watchlists of certain association sets of addresses, established according to specific criteria.
Compliance lists are generally used as blacklists, allowing builders to avoid building blocks that include transactions involving an address in this list, and allowing block proposers to voluntarily prevent any blocks they propose from including transactions involving any address in the chosen compliance list.
There is currently one available compliance list:
OFAC
bloXroute
List of addresses sanctioned by OFAC
*as of May 29th 2024
Validators
For validators that wish to use a compliance list to make sure any blocks they propose avoid transactions from addresses on a selected compliance list:
Add a compliance query parameter to the URL you pass in using the -relays flag. For example:
https://0xb0b07cd0abef743db4260b0ed50619cf6ad4d82064cb4fbec9d3ec530f7c5e6793d9f286c4e082c0244ffb9f2658fe88@bloxroute.regulated.blxrbdn.com?compliance_list=ofac
Builders
Checking which list to use
To check which list to use, the validator registration contains information on which compliance list (if any) the validator will follow.
type GetValidatorRelayResponse []struct {
Slot uint64 `json:"slot,string"`
Entry struct {
Message struct {
FeeRecipient string `json:"fee_recipient"`
GasLimit uint64 `json:"gas_limit,string"`
Timestamp uint64 `json:"timestamp,string"`
Pubkey string `json:"pubkey"`
} `json:"message"`
Signature string `json:"signature"`
} `json:"entry"`
ComplianceList string `json:"compliance_list"`
EnforcedProfitRatio uint64 `json:"enforced_profit_ratio"`
}This will be served as a JSON object.
Getting the list
For builders that want to submit blocks for validators that are using compliance lists, their builder must get the compliance lists from the relay. The request can be made with a GET request to the endpoint:
/blxr/compliance_lists
and the query parameter:
list=<INSERT_LIST_HERE>
For example:
https://bloxroute.regulated.blxrbdn.com/blxr/compliance_lists?list=ofac
The builder must include their authorization header (from bloXroute account portal) in the http request header, like -H "Authorization: <YOUR-AUTHORIZATION-HEADER>" , when making this query.
Note: the result will be served in SSZ (for the sake of speed). To unmarshal the SSZ, the public repo https://github.com/bloXroute-Labs/builder-compliance-lists (only the branch compliance-lists-example). includes the ComplianceRegistry struct, which has the method: UnmarshalSSZ(buf []byte) that can be used to unmarshal the response into a usable ComplianceRegistry struct.
Last updated