Request:
mutation {
makeRound (
input: {
assetId: "b29704fd-5613-4f16-b712-a942a126413b"
name: "Series A"
opensOn: "2022-01-01"
closesOn: "2022-03-31"
total: "2000000"
price: "1.00"
status: "Active"
termsUrl: "https://dataroom.example.com"
}
) {
round {
id
securityId
tokenId
}
}
}
Response:
{
"data": {
"makeRound": {
"round": {
"id": "3fb91ee2-eb13-4308-b4ca-1c968a6546a4",
"securityId": "4a8b023d-ecfb-4889-9768-0f5a97f906c5",
"tokenId": "7ae8c3b7-43a4-4ee3-99c8-812e101d3859"
}
}
}
}
Numeric field | Usage |
---|---|
total | The total number of shares/units authorized for sale in the round |
price | The price per share/unit expressed in USD |
In this example, the mutation creates a new round that is associated with the asset created in the previous example. The ID of the newly created round is returned in the payload. Note that the asset ID returned from the previous example of the creation of an asset is used in the creation of the round; this joins the round to the asset.
Important! A security ID is assigned to the round upon creation. This value should be stored for future reference as it will be convenient when querying the set of holdings associated with the round later on. Or, you may query the value on demand:
Request:
query {
roundById(id: "3fb91ee2-eb13-4308-b4ca-1c968a6546a4") {
securityId
}
}
Response:
{
"data": {
"roundById": {
"securityId": "4a8b023d-ecfb-4889-9768-0f5a97f906c5"
}
}
}
Important! A token ID is assigned to the round upon creation. This value should be stored for future reference as it will be required when initializing and deploying a token associated with the round later on (if tokenization is necessary). Or, you may query the value on demand:
Request:
query {
roundById (id: "3fb91ee2-eb13-4308-b4ca-1c968a6546a4") {
tokenId
}
}
Response:
{
"data": {
"roundById": {
"tokenId": "7ae8c3b7-43a4-4ee3-99c8-812e101d3859"
}
}
}