Signatures

Get Signature Fees

Gets the second signature status of an account.

GET /api/signatures/fee

Response

 {
    "success" : true,
    "fee" : Integer
}

Example

 curl -k -X GET http://localhost:8000/api/signatures/fee

Add Second Signature

Add a second signature to an account.

PUT /api/signatures

Request

 {
  "secret": "secret key of account",
  "secondsecret": "second secret key of account",
  "publicKey": "optional, to verify valid secret key and account"
}

Response

 {  
   "success": true,
   "transaction": {  
      "type": "Type of transaction. Integer",
      "amount": "Amount. Integer",
      "senderPublicKey": "Sender public key. String",
      "requesterPublicKey": "Requester public key. String",
      "timestamp": Integer,
      "asset":{  
         "signature":{  
            "publicKey": "Public key. String"
         }
      },
      "recipientId": "Recipient address. String",
      "signature": "Signature. String",
      "id": "Tx ID. String",
      "fee": "Fee Integer",
      "senderId": "Sender address. String",
      "relays": "Propagation. Integer",
      "receivedAt": "Time. String"
   }
}

Example

 curl -k -H "Content-Type: application/json" \
-X PUT -d '{"secret":"<INSERT SECRET HERE>","secondSecret":"<INSERT SECOND SECRET HERE>","publicKey":"<INSERT PUBLIC KEY HERE>" }' \
http://localhost:8000/api/signatures

What's next?
Delegates