Dinari · Arazzo Workflow

Connect a wallet and fund an account

Version 1.0.0

Fetch a wallet-connection nonce, connect the wallet, fund the account via the sandbox faucet, and read the portfolio.

1 workflow 1 source API 1 provider
View Spec View on GitHub CompanyTokenized SecuritiesStocksETFsBrokerageMarket DataBlockchainStablecoinFintechKYCOrdersWalletsArazzoWorkflows

Provider

dinari

Workflows

connectWalletAndFund
Wallet connection plus sandbox funding for an existing account.
4 steps inputs: account_id outputs: portfolio
1
getNonce
getAccountWalletConnectionNonce
2
connectWallet
createAccountWalletConnection
3
fundAccount
createAccountFaucet
4
readPortfolio
getAccountPortfolio

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Connect a wallet and fund an account
  version: 1.0.0
  summary: Fetch a wallet-connection nonce, connect the wallet, fund the account via the sandbox faucet, and read the portfolio.
sourceDescriptions:
  - name: dinari
    url: ../openapi/dinari-openapi-original.yml
    type: openapi
workflows:
  - workflowId: connectWalletAndFund
    summary: Wallet connection plus sandbox funding for an existing account.
    inputs:
      type: object
      properties:
        account_id: {type: string}
    steps:
      - stepId: getNonce
        operationId: getAccountWalletConnectionNonce
        parameters:
          - name: account_id
            in: path
            value: $inputs.account_id
        outputs:
          nonce: $response.body#/nonce
      - stepId: connectWallet
        operationId: createAccountWalletConnection
        parameters:
          - name: account_id
            in: path
            value: $inputs.account_id
      - stepId: fundAccount
        operationId: createAccountFaucet
        parameters:
          - name: account_id
            in: path
            value: $inputs.account_id
      - stepId: readPortfolio
        operationId: getAccountPortfolio
        parameters:
          - name: account_id
            in: path
            value: $inputs.account_id
        outputs:
          portfolio: $response.body
    outputs:
      portfolio: $steps.readPortfolio.outputs.portfolio