Pular para o conteúdo

Run the genesis

Requisição

Corpoapplication/jsonobrigatório
rootDomainSetupobjectobrigatório
cryptoSetupobject
tickersArray of objects
systemPropertiesArray of any
ledgersArray of objects
curl -i -X POST \
  https://docs.ripple.com/_mock/pt-br/products/custody/devbox/v1/genesis \
  -H 'Content-Type: application/json' \
  -d '{
    "rootDomainSetup": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "alias": "string",
      "lock": "Unlocked",
      "governingStrategy": "ConsiderDescendants",
      "permissions": {
        "readAccess": {
          "domains": [
            "string"
          ],
          "users": [
            "string"
          ],
          "endpoints": [
            "string"
          ],
          "policies": [
            "string"
          ],
          "accounts": [
            "string"
          ],
          "transactions": [
            "string"
          ],
          "requests": [
            "string"
          ],
          "events": [
            "string"
          ]
        }
      },
      "description": "string",
      "customProperties": {
        "property1": "string",
        "property2": "string"
      },
      "users": [
        {
          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
          "alias": "string",
          "publicKey": "string",
          "roles": [
            "string"
          ],
          "lock": "Unlocked",
          "description": "string",
          "customProperties": {
            "property1": "string",
            "property2": "string"
          },
          "loginIds": [
            {
              "id": "string",
              "providerId": "string"
            }
          ]
        }
      ],
      "policies": [
        {
          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
          "alias": "string",
          "rank": 0,
          "intentTypes": [
            "v0_NotarizeData"
          ],
          "scope": "Self",
          "scriptingEngine": "Javascript_v0",
          "condition": {
            "left": {},
            "right": {},
            "type": "And"
          },
          "workflow": [
            {
              "left": {},
              "right": {},
              "type": "And"
            }
          ],
          "lock": "Unlocked",
          "description": "string",
          "customProperties": {
            "property1": "string",
            "property2": "string"
          }
        }
      ],
      "descendants": [
        {
          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
          "alias": "string",
          "lock": "Unlocked",
          "governingStrategy": "ConsiderDescendants",
          "permissions": {
            "readAccess": {
              "domains": [
                "string"
              ],
              "users": [
                "string"
              ],
              "endpoints": [
                "string"
              ],
              "policies": [
                "string"
              ],
              "accounts": [
                "string"
              ],
              "transactions": [
                "string"
              ],
              "requests": [
                "string"
              ],
              "events": [
                "string"
              ]
            }
          },
          "description": "string",
          "customProperties": {
            "property1": "string",
            "property2": "string"
          },
          "users": [
            {
              "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
              "alias": "string",
              "publicKey": "string",
              "roles": [
                "string"
              ],
              "lock": "Unlocked",
              "description": "string",
              "customProperties": {
                "property1": "string",
                "property2": "string"
              },
              "loginIds": [
                {}
              ]
            }
          ],
          "policies": [
            {
              "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
              "alias": "string",
              "rank": 0,
              "intentTypes": [
                "v0_NotarizeData"
              ],
              "scope": "Self",
              "scriptingEngine": "Javascript_v0",
              "condition": {
                "left": {},
                "right": {},
                "type": "And"
              },
              "workflow": [
                {
                  "left": {},
                  "right": {}
                }
              ],
              "lock": "Unlocked",
              "description": "string",
              "customProperties": {
                "property1": "string",
                "property2": "string"
              }
            }
          ],
          "descendants": [
            {}
          ]
        }
      ]
    },
    "cryptoSetup": {
      "apiSigning": "Secp256r1",
      "collectionSigning": "Secp256r1",
      "messageSigning": "Secp256r1"
    },
    "tickers": [
      {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
        "ledgerId": "string",
        "kind": "Native",
        "name": "string",
        "decimals": 0,
        "symbol": "string",
        "ledgerDetails": {
          "properties": {
            "type": "Native"
          },
          "type": "Algorand"
        },
        "lock": "Unlocked",
        "description": "string",
        "customProperties": {
          "property1": "string",
          "property2": "string"
        }
      }
    ],
    "systemProperties": [
      {
        "value": {
          "publicKey": {
            "value": "string",
            "type": "PublicKey"
          }
        },
        "type": "StateReviewAuthorityProperty"
      }
    ],
    "ledgers": [
      {
        "id": "string",
        "alias": "string",
        "parameters": {
          "genesisId": "string",
          "genesisHash": "stringstringstringstringstringstringstringst",
          "nativeTickerSymbol": "string",
          "nativeTickerName": "string",
          "nativeTickerDecimals": 0,
          "type": "Algorand"
        },
        "description": "string",
        "customProperties": {
          "property1": "string",
          "property2": "string"
        }
      }
    ]
  }'

Respostas

Resposta
Sem conteúdo