Functions used by smart contracts - Blockchain Data API