Hyphen
  • Hyphen
  • Concepts
    • Auth Methods
    • Hyphen Multi-Sig Account
      • Device Key
      • Recovery Key
      • Server Key
    • Paymaster
    • Hybrid Custody
  • Mechanism Paper
  • iOS SDK
    • Quick Start
    • Authenticating Users
    • Using Hyphen UI Kit
      • Account Management Screen
    • Sample Project
  • Android SDK
    • Quick Start
    • Authenticating Users
    • Handling 2FA / Transaction Request
    • Using Hyphen UI Kit
    • Sending Transactions
  • Flutter SDK
    • Quick Start
    • Authenticating Users
    • Using Hyphen UI Kit
    • Sending Transactions
    • Example App
  • Hybrid Custody
    • Into the Hybrid Custody
  • Without Using SDK
    • Authenticating Users
    • Handling 2FA Push
  • REST API
    • API Reference
      • Account
      • Auth
      • Device
      • Key
      • Sign
    • Swagger
Powered by GitBook
On this page

Was this helpful?

  1. REST API
  2. API Reference

Sign

PreviousKey

Last updated 1 year ago

Was this helpful?

  • POSTSign Flow Tx for Authorizer using Server key
  • POSTSign Flow Tx for Payer using Paymaster key

Sign Flow Tx for Authorizer using Server key

post
Authorizations
Body
messagestringRequired

Hex-encoded bytes of the message to sign.

Example: deadbeefdeadbeefdeadbeef
Responses
200
Ok
application/json
post
POST //sign/v1/cadence/transaction HTTP/1.1
Host: api.dev.hyphen.at
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 38

{
  "message": "deadbeefdeadbeefdeadbeef"
}
200

Ok

{
  "signature": {
    "addr": "text",
    "keyId": 1,
    "signature": "text"
  }
}

Sign Flow Tx for Payer using Paymaster key

post
Authorizations
Body
messagestringRequired

Hex-encoded bytes of the message to sign.

Example: deadbeefdeadbeefdeadbeef
Responses
200
Ok
application/json
post
POST //sign/v1/cadence/paymaster HTTP/1.1
Host: api.dev.hyphen.at
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 38

{
  "message": "deadbeefdeadbeefdeadbeef"
}
200

Ok

{
  "signature": {
    "addr": "text",
    "keyId": 1,
    "signature": "text"
  }
}