Skip to main content

contract_header_value

Function contract_header_value 

Source
pub fn contract_header_value(contract_sha: &[u8; 32]) -> String
Expand description

The Cratestack-Contract header value for an op contract digest: the first 8 bytes as 11 characters of unpadded base64url. The header is not bound; it tells a server holding several accepted digests which one the request was sealed under.