State check failed invalid signature

here is mycode using waves-api
the seed is the same as conf.

const WavesAPI = require('@waves/waves-api');
const Waves = WavesAPI.create(WavesAPI.TESTNET_CONFIG);
const newConfig = {
    networkByte: 'D',
    nodeAddress: '',
    matcherAddress: '',
    minimumSeedLength: 50
const transferData = {
    amount: 11000000,
    // An arbitrary address; mine, in this example
    recipient: '3FUWqvAACRYetSuhbDNA3F7Wdn8p1am1Uus',

    // ID of a token, or WAVES
   assetId: 'WAVES',

    // The real amount is the given number divided by 10^(precision of the token)

    // The same rules for these two fields
    feeAssetId: 'WAVES',
    fee: 100000,

    // 140 bytes of data (it's allowed to use Uint8Array here)
    attachment: '',



const seed = Waves.Seed.fromExistingPhrase('foo0 true 1 ago hello');
Waves.API.Node.transactions.broadcast('transfer', transferData, seed.keyPair).then((responseData) => {

the result

UnhandledPromiseRejectionWarning: WavesRequestError: Server request to '' has failed:

  "error": 112,
  "message": "State check failed. Reason: invalid signature",
  "tx": {
    "type": 4,
    "id": "FrHmFMmr552o2Jjg81XEWcMGxxuhbRaWxYdGk5XGXiYH",
    "sender": "3FhShrXhT34tZ8bfgTGvAjJgx6xKmtfqZtJ",
    "senderPublicKey": "CUQvKcNyKwaXQh68Wao91zZ3r8ru9SbVnMVkG8XsKzwq",
    "fee": 100000,
    "timestamp": 1546852501250,
    "signature": "3kx2LTBnNwxHpfESdJbib2hGxi6TWB4HhnsNpoMhQDBiYWCoFQ8gtz4kbk9b1fX1VnyumeaoYnwoYGbKToH2xvG4",
    "proofs": [
    "version": 1,
    "recipient": "3FUWqvAACRYetSuhbDNA3F7Wdn8p1am1Uus",
    "assetId": null,
    "feeAssetId": null,
    "feeAsset": null,
    "amount": 11000000,
    "attachment": ""

waves-api is deprecated

thank you very much

Waves API is deprecated, that’s true, please take a look of

**Hi  in this repository  [ ] i found code for only waves Transfer transactions but for others functionality like issue, reissue..,,, in node there is no example. **

** am getting error while while running the issue function so could you give example code for that.**

        { type: 3,
      version: 2,
      senderPublicKey: '3kHV6EZjhAVEiLaCBQy42usSz31P4ZVLXPWCZxgpsgbn',
      name: 'test11',
      description: undefined,
      quantity: 1000,
      script: undefined,
      decimals: 8,
      reissuable: false,
      fee: 100000000,
      timestamp: 1566544706956,
      chainId: 87,
       [ '5FLQoZTQyzZ9rQuodHFu8XF5ALVPMaEmNghMNd2drcV4ffm184q7Uium8kPvepBAy3gbgcmVKPtsjKfgE1ZFMp2v' ],
      id: 'AA7JZNcUEtypUPRNcqWYMXLnskxavzRTFKj7cmBk7K7r' }
    (node:6789) UnhandledPromiseRejectionWarning: Error: Invalid chain id: 87, expected: 84
        at process400 (/home/devel-sultana/Desktop/wb/node_modules/@waves/waves-transactions/dist/nodeInteraction.js:87:36)
        at process._tickCallback (internal/process/next_tick.js:68:7)
    (node:6789) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
    (node:6789) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.