• Creates a AddRemoveService instruction.

    Optional accounts that are not provided will be omitted from the accounts array passed with the instruction. An optional account that is set cannot follow an optional account that is unset. Otherwise an Error is raised.

    Parameters

    Returns web3.TransactionInstruction

Generated using TypeDoc