0.0.5 |
|
---|
#4 在 #marlowe
240KB
5K SLoC
marlowe_client的Rust API客户端
Marlowe运行时的REST API
概述
此API客户端由OpenAPI Generator项目生成。通过使用来自远程服务器的openapi-spec,您可以轻松生成API客户端。
- API版本:0.0.5.1
- 包版本:0.0.5.1
- 构建包:
org.openapitools.codegen.languages.RustClientCodegen
安装
将包放在项目文件夹中名为marlowe_client
的目录下,并在Cargo.toml
的[dependencies]
下添加以下内容
marlowe_client = { path = "./marlowe_client" }
API端点文档
所有URI都是相对于https://marlowe-runtime-preprod-web.scdev.aws.iohkdev.io
类 | 方法 | HTTP请求 | 描述 |
---|---|---|---|
DefaultApi | apply_inputs_to_contract | POST /contracts/{contractId}/transactions | 将输入应用于合约 |
DefaultApi | create_contract | POST /contracts | 创建新合约 |
DefaultApi | create_contract_sources | POST /contracts/sources | 上传合约源 |
DefaultApi | get_contract_by_id | GET /contracts/{contractId} | 通过ID获取合约 |
DefaultApi | get_contract_source_adjacency | GET /contracts/sources/{contractSourceId}/adjacency | 通过ID获取相邻合约源ID |
DefaultApi | get_contract_source_by_id | GET /contracts/sources/{contractSourceId} | 通过ID获取合约源 |
DefaultApi | get_contract_source_closure | GET /contracts/sources/{contractSourceId}/closure | 通过ID获取合约源闭合 |
DefaultApi | get_contract_transaction_by_id | GET /contracts/{contractId}/transactions/{transactionId} | 通过ID获取合约事务 |
DefaultApi | get_contracts | GET /contracts | 获取合约 |
DefaultApi | get_next_steps_for_contract | GET /contracts/{contractId}/next | 获取下一个合约步骤 |
DefaultApi | get_payout_by_id | GET /payouts/{payoutId} | 通过ID获取支付 |
DefaultApi | get_payouts | GET /payouts | 获取角色支付 |
DefaultApi | get_transactions_for_contract | GET /contracts/{contractId}/transactions | 获取合约事务 |
DefaultApi | get_withdrawal_by_id | GET /withdrawals/{withdrawalId} | 通过ID获取提款 |
DefaultApi | get_withdrawals | GET /withdrawals | 获取提款 |
DefaultApi | healthcheck | GET /healthcheck | 测试服务器状态 |
DefaultApi | submit_contract | PUT /contracts/{contractId} | 将合同提交到链上 |
DefaultApi | submit_contract_transaction | PUT /contracts/{contractId}/transactions/{transactionId} | 提交合同输入申请 |
DefaultApi | submit_withdrawal | PUT /withdrawals/{withdrawalId} | 提交支付提款 |
DefaultApi | withdraw_payouts | POST /withdrawals | 提取支付 |
模型文档
- AccountTokenTupleInner
- Action
- ActionObject
- Add
- AddObject
- AddressAndMetadata
- And
- AndObject
- ApplicableInputs
- ApplyInputsResponse
- ApplyInputsResponseLinks
- ApplyInputsTxEnvelope
- Assert
- AssertFail
- AssertObject
- AssetId
- Assets
- BlockHeader
- Bound
- CanChoose
- CanDeposit
- CanNotify
- Case
- CaseMerkleizedThen
- CaseMerkleizedThenObject
- CaseObject
- CaseThen
- CaseThenObject
- ChoiceAction
- ChoiceActionObject
- ChoiceContinuationInput
- ChoiceId
- ChoiceIdObject
- ChoiceInput
- ChooseFor
- ChooseForObject
- Close
- CloseObject
- ContinuationInput
- Contract
- ContractHeader
- ContractObject
- ContractSourceIds
- ContractState
- CreateContractResponse
- CreateContractResponseLinks
- CreateTxBodyEnvelope
- CreateTxEnvelope
- DepositAction
- DepositActionObject
- DepositContinuationInput
- DepositInput
- Divide
- DivideObject
- Equal
- EqualObject
- ExBudget
- GetContractResponse
- GetContractResponseLinks
- GetContractsResponse
- GetContractsResponseResultsInner
- GetContractsResponseResultsInnerLinks
- GetPayoutResponse
- GetPayoutResponseLinks
- GetPayoutsResponse
- GetPayoutsResponseResultsInner
- GetPayoutsResponseResultsInnerLinks
- GetTransactionResponse
- GetTransactionResponseLinks
- GetTransactionsResponse
- GetTransactionsResponseResultsInner
- GetWithdrawalsResponse
- GetWithdrawalsResponseResultsInner
- GetWithdrawalsResponseResultsInnerLinks
- Greater
- GreaterObject
- GreaterOrEqual
- GreaterOrEqualObject
- If
- IfObject
- IfValue
- IfValueObject
- Input
- IntervalError
- IntervalInPast
- IntervalInPastIntervalInPastError
- InvalidInterval
- InvalidIntervalInvalidInterval
- LabelRef
- LabelledObject
- LabelledObjectValue
- Lesser
- LesserObject
- LesserOrEqual
- LesserOrEqualObject
- Let
- LetObject
- MarloweState
- MarloweStateAccountsInnerInner
- MarloweStateBoundValuesInnerInner
- MarloweStateChoicesInnerInner
- MarloweVersion
- Metadata
- MetadataAndRecipients
- MetadataAndScript
- Minus
- MinusObject
- Multiply
- MultiplyObject
- Negate
- NegateObject
- Next
- NonPositiveDeposit
- NonPositivePayment
- Not
- NotObject
- NotifyAction
- NotifyActionObject
- NotifyInput
- Observation
- ObservationObject
- Or
- OrObject
- PartialPayment
- Party
- PartyAddress
- PartyObject
- PartyRoleName
- Pay
- PayObject
- PayToAccount
- PayToAccountObject
- PayToParty
- PayToPartyObject
- Payee
- PayeeObject
- Payment
- Payout
- PayoutHeader
- PayoutState
- PayoutStatus
- PlutusPeriodAddress
- PlutusPeriodCredential
- PlutusPeriodStakingCredential
- PostContractSourceResponse
- PostContractsRequest
- PostContractsRequestContract
- PostTransactionsRequest
- PostWithdrawalsRequest
- PubKeyCredential
- RoleTokenConfig
- RolesConfig
- SafetyError
- ScriptCredential
- StakingHash
- StakingPointer
- TextEnvelope
- TimeInterval
- Token
- TokenInAccount
- TokenInAccountObject
- 令牌元数据
- 令牌元数据文件
- 令牌对象
- 交易
- 交易错误
- 交易错误之一
- 交易输入
- 交易输入交易间隔
- 交易输出
- 交易警告
- Tx
- Tx头
- Tx输出错误
- Tx输出成功
- Tx状态
- 使用值
- 值
- 值对象
- 值选择
- 值选择对象
- 变量阴影
- 当
- 当对象
- 提款支付响应
- 提款交易主体信封
- 提款交易信封
- 提款
- 提款头
要获取对生成文档的访问权限,请使用
cargo doc --open
作者
依赖关系
~4-18MB
~240K SLoC