# Function: buildPredictionMarketDepositMsg()

> **buildPredictionMarketDepositMsg**(`creator`, `collectionId`, `amount`, `mintApprovalId`): `MsgEnvelope`

Defined in: [packages/bitbadgesjs-sdk/src/core/prediction-markets.ts:1015](https://github.com/BitBadges/bitbadgesjs/blob/master/packages/bitbadgesjs-sdk/src/core/prediction-markets.ts#L1015)

Deposit msg: mint paired YES+NO tokens 1:1 against the depositDenom. Single MsgTransferTokens, two transfers.

## Parameters

### creator

`string`

### collectionId

`string`

### amount

`bigint`

### mintApprovalId

`string`

## Returns

`MsgEnvelope`
