### TransactionPayloadBuilder(): [TransactionPayloadBuilder](#transactionpayloadbuilder) Creates a new `TransactionPayloadBuilder`. ### withEssence(essence): [TransactionPayloadBuilder](#transactionpayloadbuilder) Adds an essence to a `TransactionPayloadBuilder`. | Parameter | Type | Description | | --------------- | -------- | -------- | | essence | [Essence](#essence) | | ### withUnlockBlocks(unlock_blocks): [TransactionPayloadBuilder](#transactionpayloadbuilder) Adds unlock blocks to a `TransactionPayloadBuilder`. | Parameter | Type | Description | | --------------- | -------- | -------- | | unlock_blocks | [UnlockBlocks](#unlockblocks) | | ### finish(): [TransactionPayload](#transactionpayload) Finishes a `TransactionPayloadBuilder` into a `TransactionPayload`.