Skip to main content

DesiredOutput

@midnight-ntwrk/dapp-connector-api v4.0.1


@midnight-ntwrk/dapp-connector-api / DesiredOutput

Type Alias: DesiredOutput

DesiredOutput = object

Desired output from a transaction or intent. It specifies the type of the output, the amount and the recipient. Recipient needs to be a properly formatted Bech32m address matching the kind of the token and network id the wallet is connected to.

Properties

kind

kind: "shielded" | "unshielded"


recipient

recipient: string


type

type: TokenType


value

value: bigint