Skip to main content

Callable


  • Creates and returns a Switchboard Push instance


    Parameters

    • address: string

      The contract address of the Switchboard

    • signerOrProvider: any

      The signer or provider used to interact with the contract

    Returns SwitchboardPushReceiver

    SwitchboardPushReceiver instance

    const switchboard = getSwitchboardPushReceiver(‘0xSwitchboardSolContractAddress’, mySignerOrProvider);