@unicrowio/sdk
Namespaces
Enumerations
Interfaces
- ApproveArbitratorParsedPayload
- ApproveSettlementParsedPayload
- ArbitrateParsedPayload
- CalculateAmountsInput
- ChallengeParsedPayload
- ClaimParsedPayload
- GenericParsedTxPayload
- GetResponseUserBalance
- IApproveArbitrationTransactionCallbacks
- IApproveOrProposeArbitrationModalProps
- IArbitrateModalProps
- IArbitrateTransactionCallbacks
- IArbitrateTransactionPayload
- IArbitrationTransactionPayload
- IArbitratorInfo
- IBalance
- IBalanceDetailed
- ICalculateStatusParams
- IChallengeModalProps
- IChallengeTransactionCallbacks
- IChallengeTransactionPayload
- IClaimModalProps
- IClaimMultipleModalProps
- IClaimTransactionCallbacks
- IClaimTransactionPayload
- IEnsAddresses
- IEscrowData
- IEscrowDataWithTokenInfo
- IEscrowStatus
- IGenericTransactionCallbacks
- IGetConnectedUser
- IGetEscrowData
- IGetPaymentListResponse
- IPage
- IPayTransactionCallbacks
- IPayTransactionPayload
- IPaymentModalProps
- IPaymentProps
- IPaymentPropsData
- IProposeArbitrationTransactionCallbacks
- IRefundModalProps
- IRefundTransactionCallbacks
- IRefundTransactionPayload
- IReleaseModalProps
- IReleaseTransactionCallbacks
- IReleasedTransactionBroadcastPayload
- ISettlement
- ISettlementApproveModalProps
- ISettlementApproveTransactionCallbacks
- ISettlementOfferModalProps
- ISettlementOfferTransactionCallbacks
- ISettlementTransactionPayload
- IToken
- IValidateProps
- IndexerInstance
- MultipleClaimParsedPayload
- OfferSettlementParsedPayload
- PayParsedPayload
- ProposalArbitratorParsedPayload
- ReleaseParsedPayload
- TPaymentListQueryParams
- UnicrowConfig
- UnicrowNetwork
- tShares
- tSplits
Type Aliases
CalculateFunction
Ƭ CalculateFunction: CalculateAmountsInput
Defined in
IReleasedTransactionPayload
Ƭ IReleasedTransactionPayload: ReleaseParsedPayload
Defined in
tConnectedUser
Ƭ tConnectedUser: "buyer"
| "seller"
| "arbitrator"
| "marketplace"
| "other"
Defined in
tEscrowParty
Ƭ tEscrowParty: "buyer"
| "seller"
| null
Defined in
Variables
NETWORK
• Const
NETWORK: Object
Index signature
▪ [name: string
]: UnicrowNetwork
Defined in
Functions
config
▸ config(«destructured»
): void
Sets the target network for all subsequent SDK calls.
Parameters
Name | Type | Default value |
---|---|---|
«destructured» | Object | undefined |
› autoSwitchNetwork | boolean | false |
› chainId | bigint | undefined |
Returns
void
Defined in
getContractAddress
▸ getContractAddress(role
): string
Parameters
Name | Type |
---|---|
role | Role |
Returns
string