Skip to main content
POST
/
transaction
cURL
curl --request POST \
  --url https://beta.rocketfi.io/transaction \
  --header 'Content-Type: application/json' \
  --data '
{
  "data": {
    "instruction": {
      "Mint": {
        "amount": "<string>",
        "asset_id": 1,
        "to": "<string>"
      }
    },
    "nonce": 1,
    "sender": "<string>"
  },
  "serializationFormat": "JSON",
  "signature": "<string>",
  "signatureScheme": "EIP191"
}
'
{
  "PlaceOrder": {
    "results": [
      {
        "Success": {
          "account": "<string>",
          "eventData": {
            "fill": {
              "abs_position_size_change": 123,
              "fee_amount": 1,
              "fee_rate": 1,
              "is_adl": true,
              "is_filled": true,
              "is_liquidation": true,
              "is_passive": true,
              "order_quantity": 123,
              "original_order_quantity": 123,
              "price": 1,
              "price_scale": 123,
              "quantity_scale": 123,
              "settlement_asset": 1,
              "size": 123,
              "timestamp": 1,
              "pnl": 123
            }
          },
          "instrument": 1,
          "orderId": 1,
          "orderIx": 1
        }
      }
    ]
  }
}

Body

application/json
data
object
required
serializationFormat
enum<string>
required
Available options:
JSON,
MessagePack
signature
string<hex>
required
signatureScheme
enum<string>

Signature scheme used for this transaction (defaults to EIP-191 for compatibility).

Available options:
EIP191,
EIP712

Response

Transaction accepted

PlaceOrder
object
required