Function promiseThenRaw

  • Attach a callback NEAR promise to be executed after a provided promise.

    Parameters

    • promiseIndex: PromiseIndex

      The promise after which to call the callback.

    • accountId: string

      The account ID of the contract to perform the callback on.

    • methodName: string

      The name of the method to call.

    • args: Uint8Array

      The arguments to call the method with.

    • amount: NearAmount

      The amount of NEAR to attach to the call.

    • gas: NearAmount

      The amount of Gas to attach to the call.

    Returns PromiseIndex

Generated using TypeDoc