[p] Add GetContract API

3 jobs for 181_fetch_contract_api