curl --request POST \
--url https://api.example.com/bulletin-board/offer \
--header 'Content-Type: application/json' \
--data '
{
"tokenId": "0xF01234567890abcdef1234567890ABCDEF123456",
"customerId": "customer_82bd7ffb54c24d2bb76c45f1d759b0ce",
"makerWalletAddress": "0x3eB0e9C2Cd65d4325795AB8FAd3a69b3B2f8583f",
"amount": 10,
"priceInEuro": 500,
"intention": "SELL"
}
'{
"tokenId": "0xabc1234567890def1234567890abcdef12345678",
"makerWalletAddress": "0x12b5aEDEb98767823Dd473bE7C88A8203FaA7Ee8",
"takerWalletAddress": "0xA74269C3DE980723A1D49a017cBbD1839C41D4e7",
"amount": 5,
"priceInEuro": 250.75,
"status": "OPEN",
"intention": "BUY",
"maker": {
"id": "customer_c7a968e665d9",
"object": "customer",
"verificationStatus": "IN_PROGRESS",
"wallets": [
{
"address": "0x1234567890123456789012345678901234567890",
"object": "wallet",
"balances": {
"token": "0x4dad19801eff64eaaa7c78e466ce3678d0b1fd94",
"total": "1000",
"available": {
"amount": "0"
},
"frozen": {
"amount": "1000"
}
}
}
],
"type": "INDIVIDUAL",
"countryCode": "US",
"hasCompletedMoneriumSetup": true,
"referralCode": "REF123456",
"createdAt": "2023-10-01T12:00:00Z",
"username": "john_doe",
"name": "John Doe",
"email": "[email protected]",
"phone": "+1234567890",
"metadata": {
"userId": "2b634b51-7f4a-470b-9bd6-c7a968e665d9"
},
"address": {
"line1": "1234 Main St",
"line2": "Suite 200",
"city": "Anytown",
"state": "CA",
"postalCode": "12345",
"countryCode": "US"
}
},
"taker": {
"id": "customer_c7a968e665d9",
"object": "customer",
"verificationStatus": "IN_PROGRESS",
"wallets": [
{
"address": "0x1234567890123456789012345678901234567890",
"object": "wallet",
"balances": {
"token": "0x4dad19801eff64eaaa7c78e466ce3678d0b1fd94",
"total": "1000",
"available": {
"amount": "0"
},
"frozen": {
"amount": "1000"
}
}
}
],
"type": "INDIVIDUAL",
"countryCode": "US",
"hasCompletedMoneriumSetup": true,
"referralCode": "REF123456",
"createdAt": "2023-10-01T12:00:00Z",
"username": "john_doe",
"name": "John Doe",
"email": "[email protected]",
"phone": "+1234567890",
"metadata": {
"userId": "2b634b51-7f4a-470b-9bd6-c7a968e665d9"
},
"address": {
"line1": "1234 Main St",
"line2": "Suite 200",
"city": "Anytown",
"state": "CA",
"postalCode": "12345",
"countryCode": "US"
}
}
}Create an offer to either buy or sell tokens. The offer includes the token, amount, price, and direction (buy or sell).
curl --request POST \
--url https://api.example.com/bulletin-board/offer \
--header 'Content-Type: application/json' \
--data '
{
"tokenId": "0xF01234567890abcdef1234567890ABCDEF123456",
"customerId": "customer_82bd7ffb54c24d2bb76c45f1d759b0ce",
"makerWalletAddress": "0x3eB0e9C2Cd65d4325795AB8FAd3a69b3B2f8583f",
"amount": 10,
"priceInEuro": 500,
"intention": "SELL"
}
'{
"tokenId": "0xabc1234567890def1234567890abcdef12345678",
"makerWalletAddress": "0x12b5aEDEb98767823Dd473bE7C88A8203FaA7Ee8",
"takerWalletAddress": "0xA74269C3DE980723A1D49a017cBbD1839C41D4e7",
"amount": 5,
"priceInEuro": 250.75,
"status": "OPEN",
"intention": "BUY",
"maker": {
"id": "customer_c7a968e665d9",
"object": "customer",
"verificationStatus": "IN_PROGRESS",
"wallets": [
{
"address": "0x1234567890123456789012345678901234567890",
"object": "wallet",
"balances": {
"token": "0x4dad19801eff64eaaa7c78e466ce3678d0b1fd94",
"total": "1000",
"available": {
"amount": "0"
},
"frozen": {
"amount": "1000"
}
}
}
],
"type": "INDIVIDUAL",
"countryCode": "US",
"hasCompletedMoneriumSetup": true,
"referralCode": "REF123456",
"createdAt": "2023-10-01T12:00:00Z",
"username": "john_doe",
"name": "John Doe",
"email": "[email protected]",
"phone": "+1234567890",
"metadata": {
"userId": "2b634b51-7f4a-470b-9bd6-c7a968e665d9"
},
"address": {
"line1": "1234 Main St",
"line2": "Suite 200",
"city": "Anytown",
"state": "CA",
"postalCode": "12345",
"countryCode": "US"
}
},
"taker": {
"id": "customer_c7a968e665d9",
"object": "customer",
"verificationStatus": "IN_PROGRESS",
"wallets": [
{
"address": "0x1234567890123456789012345678901234567890",
"object": "wallet",
"balances": {
"token": "0x4dad19801eff64eaaa7c78e466ce3678d0b1fd94",
"total": "1000",
"available": {
"amount": "0"
},
"frozen": {
"amount": "1000"
}
}
}
],
"type": "INDIVIDUAL",
"countryCode": "US",
"hasCompletedMoneriumSetup": true,
"referralCode": "REF123456",
"createdAt": "2023-10-01T12:00:00Z",
"username": "john_doe",
"name": "John Doe",
"email": "[email protected]",
"phone": "+1234567890",
"metadata": {
"userId": "2b634b51-7f4a-470b-9bd6-c7a968e665d9"
},
"address": {
"line1": "1234 Main St",
"line2": "Suite 200",
"city": "Anytown",
"state": "CA",
"postalCode": "12345",
"countryCode": "US"
}
}
}The token that is being offered to be traded for.
"0xF01234567890abcdef1234567890ABCDEF123456"
The ID of the customer creating the offer.
"customer_82bd7ffb54c24d2bb76c45f1d759b0ce"
The address of the wallet creating the offer.
"0x3eB0e9C2Cd65d4325795AB8FAd3a69b3B2f8583f"
The quantity of tokens offered.
10
The total price in euros for the offer.
500
The intention behind the offer, either to BUY or SELL.
BUY, SELL "SELL"
Offer created successfully.
The token that is being offered to be traded for.
"0xabc1234567890def1234567890abcdef12345678"
The wallet address of the customer who made the offer.
"0x12b5aEDEb98767823Dd473bE7C88A8203FaA7Ee8"
The wallet address of the customer who accepts the offer (if accepted).
"0xA74269C3DE980723A1D49a017cBbD1839C41D4e7"
The quantity of tokens involved in the offer.
5
The total price in euros for the offer.
250.75
The current status of the offer.
OPEN, CANCELLED, FILLED "OPEN"
The intention of the offer maker.
BUY, SELL "BUY"
The customer who made the offer.
Show child attributes
The customer who accepted the offer (if accepted).
Show child attributes