Function getBytecodeOf

  • Retrieves the bytecode of the remote contract at the given 'address'.

    Remarks

    Bytecode is a low-level representation of a smart contract's code that can be executed by the blockchain.

    Returns

    The bytecode of the contract, serialized as a 'StaticArray'.

    Throws

    • if the given address is not a valid smart contract address.

    Parameters

    • address: Address

      The address of the contract's bytecode to retrieve.

    Returns StaticArray<u8>

Generated using TypeDoc