code: func (api *API) SendTrytes(trytes []Trytes, depth uint64, mwm uint64, reference ...Hash) (bundle.Bundle, error) {
  	if err := Validate(ValidateTransactionTrytes(trytes...)); err != nil {
  		return nil, err
  	}
  	tips, err := api.GetTransactionsToApprove(depth, reference...)
  	if err != nil {
  		return nil, err
  	}
  	trytes, err = api.AttachToTangle(tips.TrunkTransaction, tips.BranchTransaction, mwm, trytes)
  	if err != nil {
  		return nil, err
  	}
  	trytes, err = api.StoreAndBroadcast(trytes)
  	if err != nil {
  		return nil, err
  	}
  	return transaction.AsTransactionObjects(trytes, nil)
  }
docs: // SendTrytes performs Proof-of-Work, stores and then broadcasts the given transactions and returns them.