get Created Contract Id
Extracts the created contract ID from a deploy contract transaction.
This helper function parses the transaction metadata and extracts the contract ID from the return value of a successful contract deployment operation.
Return
The contract ID as a strkey-encoded string (starting with "C"), or null if: - The transaction is not a successful deployment operation - The resultMetaXdr is null - The return value is not a contract address
Throws
if the XDR cannot be parsed or contract address is invalid