Encode operations

Generate order encode data for sign operations

Generate order encode data for sign operations

SecurityApiKeyAuth
Request
Request Body schema: application/json
required
One of:
One of:
@type
string
Value: "RARIBLE_V2"
required
EthOrderDataRaribleV2DataV1 (object) or EthOrderDataRaribleV2DataV2 (object) or EthOrderDataRaribleV2DataV3Sell (object) or EthOrderDataRaribleV2DataV3Buy (object) (EthRaribleV2OrderData)
maker
required
string (UnionAddress)

Blockchain address in Union format ${blockchainGroup}:${token}

taker
string (UnionAddress)

Blockchain address in Union format ${blockchainGroup}:${token}

required
object (EthOrderFormAsset)
required
object (EthOrderFormAsset)
startedAt
string <date-time>
endedAt
required
string <date-time>
salt
required
string (BigInteger)
signature
required
string
blockchain
required
string (Blockchain)
Enum: "APTOS" "ETHEREUM" "POLYGON" "FLOW" "TEZOS" "SOLANA" "IMMUTABLEX" "MANTLE" "ARBITRUM" "CHILIZ" "LIGHTLINK" "ZKSYNC" "ASTARZKEVM" "BASE" "RARI" "CELO" "FIEF" "XAI" "KROMA" "ZKLINK" "OASYS" "QUAI" "ECLIPSE" "SAAKURU" "OASIS" "PALM" "MATCH" "FIVIRE" "SEI" "CAMP" "LISK" "MOONBEAM" "ETHERLINK"
Responses
200

OK

400

Bad Request

500

Internal Server Error

post/v0.1/encode/order
Request samples
application/json
{
  • "maker": "ETHEREUM:0x4765273c477c2dc484da4f1984639e943adccfeb",
  • "taker": "ETHEREUM:0x4765273c477c2dc484da4f1984639e943adccfeb",
  • "make": {
    },
  • "take": {
    },
  • "startedAt": "2019-08-24T14:15:22Z",
  • "endedAt": "2019-08-24T14:15:22Z",
  • "salt": 123456,
  • "signature": "string",
  • "@type": "RARIBLE_V2",
  • "data": {
    },
  • "blockchain": "ETHEREUM"
}
Response samples
application/json
{
  • "@type": "ETH_ORDER_ENCODE",
  • "orderHash": "string",
  • "signHash": "string",
  • "transferProxy": "ETHEREUM:0x4765273c477c2dc484da4f1984639e943adccfeb",
  • "blockchain": "ETHEREUM"
}