# payments.starGiftOnchainOfferTxInitState

> payments.starGiftOnchainOfferTxInitState attributes, type and example

[Back to constructors index](/API_docs/constructors/index.html)



### Attributes:

| Name     |    Type       | Required |
|----------|---------------|----------|
|code|[bytes](/API_docs/types/bytes.html) | Yes|
|data|[bytes](/API_docs/types/bytes.html) | Yes|



### Type: [payments.StarGiftOnchainOfferTxInitState](/API_docs/types/payments.StarGiftOnchainOfferTxInitState.html)


### Example:

```
$payments_starGiftOnchainOfferTxInitState = ['_' => 'payments.starGiftOnchainOfferTxInitState', 'code' => 'bytes', 'data' => 'bytes'];
```
