get contract_id from TX